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
remove the 'name' field from the slice record before updateing. Cant allow user to...
[sfa.git]
/
sfa
/
methods
/
update.py
diff --git
a/sfa/methods/update.py
b/sfa/methods/update.py
index
05a3d39
..
768116a
100644
(file)
--- a/
sfa/methods/update.py
+++ b/
sfa/methods/update.py
@@
-63,7
+63,7
@@
class update(Method):
elif type == "slice":
hrn=record.get_name()
pl_record=self.api.geni_fields_to_pl_fields(type, hrn, record)
elif type == "slice":
hrn=record.get_name()
pl_record=self.api.geni_fields_to_pl_fields(type, hrn, record)
- if 'name' in pl_re
oc
rd:
+ if 'name' in pl_re
co
rd:
pl_record.pop('name')
self.api.plshell.UpdateSlice(self.api.plauth, pointer, pl_record)
pl_record.pop('name')
self.api.plshell.UpdateSlice(self.api.plauth, pointer, pl_record)