pass options to check_credentials()
[sfa.git] / sfa / methods / SliverStatus.py
index f722c7c..bf9b4d4 100644 (file)
@@ -19,9 +19,9 @@ class SliverStatus(Method):
         ]
     returns = Parameter(dict, "Status details")
 
-    def call(self, slice_xrn, creds, options={}):
+    def call(self, slice_xrn, creds, options):
         hrn, type = urn_to_hrn(slice_xrn)
-        valid_creds = self.api.auth.checkCredentials(creds, 'sliverstatus', hrn)
+        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))