Fix name -> tagname. Thanks to Elliot Jaffe.
[plcapi.git] / PLC / Methods / DeleteConfFileFromNodeGroup.py
index 5504b0f..f832faa 100644 (file)
@@ -1,3 +1,4 @@
+# $Id$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -19,7 +20,7 @@ class DeleteConfFileFromNodeGroup(Method):
         Auth(),
         ConfFile.fields['conf_file_id'],
         Mixed(NodeGroup.fields['nodegroup_id'],
-              NodeGroup.fields['name'])
+              NodeGroup.fields['groupname'])
         ]
 
     returns = Parameter(int, '1 if successful')