From 95a2462e94eac7a155dbea39ff8f6fa56a3ee5f4 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 28 Aug 2012 12:03:55 -0400 Subject: [PATCH] fix method params --- sfa/methods/Describe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfa/methods/Describe.py b/sfa/methods/Describe.py index 546be22e..c6a4dd38 100644 --- a/sfa/methods/Describe.py +++ b/sfa/methods/Describe.py @@ -26,7 +26,7 @@ class Describe(Method): ] returns = Parameter(str, "List of resources") - def call(self, creds, options): + def call(self, urns, creds, options): self.api.logger.info("interface: %s\tmethod-name: %s" % (self.api.interface, self.name)) # client must specify a version @@ -37,7 +37,7 @@ class Describe(Method): raise SfaInvalidArgument('Must specify an rspec version option. geni_rspec_version cannot be null') # Find the valid credentials - valid_creds = self.api.auth.checkCredentials(creds, 'listnodes') + valid_creds = self.api.auth.checkCredentials(creds, 'listnodes', urns) # get hrn of the original caller origin_hrn = options.get('origin_hrn', None) -- 2.47.0