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
(from parent 1:
b0c4256
)
should be checking for the stopslice priv not deletesliver
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 6 Aug 2010 21:10:09 +0000
(21:10 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 6 Aug 2010 21:10:09 +0000
(21:10 +0000)
sfa/methods/Stop.py
patch
|
blob
|
history
diff --git
a/sfa/methods/Stop.py
b/sfa/methods/Stop.py
index
61c9285
..
4f2fc8c
100644
(file)
--- a/
sfa/methods/Stop.py
+++ b/
sfa/methods/Stop.py
@@
-29,7
+29,7
@@
class Stop(Method):
def call(self, xrn, creds):
hrn, type = urn_to_hrn(xrn)
- valid_creds = self.api.auth.checkCredentials(creds, '
deletesliver
', hrn)
+ valid_creds = self.api.auth.checkCredentials(creds, '
stopslice
', hrn)
#log the call
origin_hrn = Credential(string=valid_creds[0]).get_gid_caller().get_hrn()