svn keywords
[plcapi.git] / PLC / Methods / DeleteNodeGroup.py
index 7650150..ae66dc7 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -18,7 +20,7 @@ class DeleteNodeGroup(Method):
     accepts = [
         Auth(),
         Mixed(NodeGroup.fields['nodegroup_id'],
-             NodeGroup.fields['name'])
+             NodeGroup.fields['groupname'])
         ]
 
     returns = Parameter(int, '1 if successful')