implement file lock based on peername to prevent running two RefreshPeer at a time.
[plcapi.git] / PLC / Methods / AddConfFileToNodeGroup.py
index 6ff642c..dd3bcd5 100644 (file)
@@ -1,3 +1,4 @@
+# $Id$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -20,7 +21,7 @@ class AddConfFileToNodeGroup(Method):
         Auth(),
         ConfFile.fields['conf_file_id'],
         Mixed(NodeGroup.fields['nodegroup_id'],
-              NodeGroup.fields['name'])
+              NodeGroup.fields['groupname'])
         ]
 
     returns = Parameter(int, '1 if successful')