- - added logging variable 'object_type'
[plcapi.git] / PLC / Methods / AddNodeToPCU.py
index ff40541..f1c1961 100644 (file)
@@ -27,6 +27,8 @@ class AddNodeToPCU(Method):
 
     returns = Parameter(int, '1 if successful')
 
+    object_type = 'Node'
+
     def call(self, auth, node_id_or_hostname, pcu_id, port):
         # Get node
         nodes = Nodes(self.api, [node_id_or_hostname])