From 413e217f33fe4a6148bba4edd8a761087bb22c12 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 2 Apr 2014 18:46:29 -0400 Subject: [PATCH] pass options to check_credentials() --- sfa/methods/SliverStatus.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)) -- 2.43.0