X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FUpdateNode.py;h=b82325e6231054949819ae1e678f5279cb8e11da;hb=4b98bfe145e937f5773cd77c3ffcbeb233911d74;hp=5440307e2a22f5bdb34cb095661d7c8ccb3b1d44;hpb=ac29a9eebfa173766903dbc8c06c01fc18335bab;p=plcapi.git diff --git a/PLC/Methods/UpdateNode.py b/PLC/Methods/UpdateNode.py index 5440307..b82325e 100644 --- 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()))