git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1811b68
)
pass options to check_credentials()
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 2 Apr 2014 22:46:29 +0000
(18:46 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 2 Apr 2014 22:46:29 +0000
(18:46 -0400)
sfa/methods/SliverStatus.py
patch
|
blob
|
history
diff --git
a/sfa/methods/SliverStatus.py
b/sfa/methods/SliverStatus.py
index
a3cff50
..
bf9b4d4
100644
(file)
--- 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))