X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FStop.py;h=48974ab29d6af0449ad685099f92e78e8d07ff0e;hb=431a6bf78c6232a44b178e2092451e733a71bba3;hp=e8d3397e274f35dc6878eba6a8cf1abc67428821;hpb=07fcf3cbd55e243bed442271a7557178a92559bf;p=sfa.git diff --git a/sfa/methods/Stop.py b/sfa/methods/Stop.py index e8d3397e..48974ab2 100644 --- a/sfa/methods/Stop.py +++ b/sfa/methods/Stop.py @@ -30,7 +30,6 @@ class Stop(Method): origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn() self.api.logger.info("interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, origin_hrn, hrn, self.name)) - manager = self.api.get_interface_manager() - manager.stop_slice(self.api, xrn, creds) + self.api.manager.stop_slice(self.api, xrn, creds) return 1