git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c60e3b7
)
fix cut-n-paste from AddSliceTag error
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 17 Jul 2009 02:35:12 +0000
(
02:35
+0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 17 Jul 2009 02:35:12 +0000
(
02:35
+0000)
PLC/Methods/UpdateSliceTag.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/UpdateSliceTag.py
b/PLC/Methods/UpdateSliceTag.py
index
6e0a943
..
0b65333
100644
(file)
--- a/
PLC/Methods/UpdateSliceTag.py
+++ b/
PLC/Methods/UpdateSliceTag.py
@@
-59,7
+59,7
@@
class UpdateSliceTag(Method):
else:
### make node's min_role_id == PI min_role_id
node_role_id = 20
- if
tag_type['min_role_id'] is not None and node_role_id > tag_type
['min_role_id']:
+ if
slice_tag['min_role_id'] is not None and node_role_id > slice_tag
['min_role_id']:
raise PLCPermissionDenied, "Not allowed to update the specified slice attribute"
if slice_tag['tagname'] in ['initscript']: