git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
solves xrefs person->key slice->node slice->person linearly
[plcapi.git]
/
PLC
/
Methods
/
UpdateNode.py
diff --git
a/PLC/Methods/UpdateNode.py
b/PLC/Methods/UpdateNode.py
index
5440307
..
b82325e
100644
(file)
--- a/
PLC/Methods/UpdateNode.py
+++ b/
PLC/Methods/UpdateNode.py
@@
-32,6
+32,8
@@
class UpdateNode(Method):
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, node_id_or_hostname, node_fields):
node_fields = dict(filter(can_update, node_fields.items()))