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
add NotifyPersons method to e-mail specified users
[plcapi.git]
/
PLC
/
Methods
/
BootUpdateNode.py
diff --git
a/PLC/Methods/BootUpdateNode.py
b/PLC/Methods/BootUpdateNode.py
index
271da9f
..
5c1762a
100644
(file)
--- a/
PLC/Methods/BootUpdateNode.py
+++ b/
PLC/Methods/BootUpdateNode.py
@@
-30,6
+30,8
@@
class BootUpdateNode(Method):
returns = Parameter(int, '1 if successful')
+ object_type = 'Node'
+
def call(self, auth, node_fields):
# Update node state
if node_fields.has_key('boot_state'):