X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FSliverStatus.py;h=bf9b4d4d9748b524a603a8e79cf4537704358b7c;hb=413e217f33fe4a6148bba4edd8a761087bb22c12;hp=a3cff50d76dde1d6794d566cffb67ba3ebe207cf;hpb=1811b688e881e4dc6154331b6a80944ede8bcaf3;p=sfa.git diff --git a/sfa/methods/SliverStatus.py b/sfa/methods/SliverStatus.py index a3cff50d..bf9b4d4d 100644 --- a/sfa/methods/SliverStatus.py +++ b/sfa/methods/SliverStatus.py @@ -21,8 +21,7 @@ class SliverStatus(Method): def call(self, slice_xrn, creds, options): hrn, type = urn_to_hrn(slice_xrn) - (speaking_for, _) = urn_to_hrn(options.get('geni_speaking_for')) - valid_creds = self.api.auth.checkCredentials(creds, 'sliverstatus', hrn, speaking_for) + valid_creds = self.api.auth.checkCredentials(creds, 'sliverstatus', hrn, options) self.api.logger.info("interface: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, hrn, self.name))