git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
creating tag sfa-0.9-11
[sfa.git]
/
sfa
/
methods
/
reset_slice.py
diff --git
a/sfa/methods/reset_slice.py
b/sfa/methods/reset_slice.py
index
9d0e0f0
..
cd9026c
100644
(file)
--- a/
sfa/methods/reset_slice.py
+++ b/
sfa/methods/reset_slice.py
@@
-30,7
+30,7
@@
class reset_slice(Method):
def call(self, cred, xrn, origin_hrn=None):
hrn, type = urn_to_hrn(xrn)
def call(self, cred, xrn, origin_hrn=None):
hrn, type = urn_to_hrn(xrn)
- self.api.auth.check(cred, 'resetslice')
+ self.api.auth.check(cred, 'resetslice'
, hrn
)
# send the call to the right manager
manager_base = 'sfa.managers'
if self.api.interface in ['component']:
# send the call to the right manager
manager_base = 'sfa.managers'
if self.api.interface in ['component']: