X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FListResources.py;h=a12447f628851e337231b7d056362899bef570e9;hb=431a6bf78c6232a44b178e2092451e733a71bba3;hp=b8d7e2d06e6e80c8473ca85a2928a0af17e37aba;hpb=07fcf3cbd55e243bed442271a7557178a92559bf;p=sfa.git diff --git a/sfa/methods/ListResources.py b/sfa/methods/ListResources.py index b8d7e2d0..a12447f6 100644 --- a/sfa/methods/ListResources.py +++ b/sfa/methods/ListResources.py @@ -36,9 +36,7 @@ class ListResources(Method): origin_hrn = options.get('origin_hrn', None) if not origin_hrn: origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn() - # get manager for this interface - manager = self.api.get_interface_manager() - rspec = manager.ListResources(self.api, creds, options, call_id) + rspec = self.api.manager.ListResources(self.api, creds, options, call_id) # filter rspec through sfatables if self.api.interface in ['aggregate']: