diff --git a/plugins/configuration/attributes.py b/plugins/configuration/attributes.py index 43b99661..a56694d5 100644 --- a/plugins/configuration/attributes.py +++ b/plugins/configuration/attributes.py @@ -5,7 +5,7 @@ import confluent.config.attributes as allattributes def retrieve(nodes, element, configmanager, inputdata): if nodes is not None: return retrieve_nodes(nodes, element, configmanager, inputdata) - elif element[0] == 'nodegroup': + elif element[0] == 'groups': return retrieve_nodegroup(element[1], element[3], configmanager, inputdata) @@ -115,7 +115,7 @@ def retrieve_nodes(nodes, element, configmanager, inputdata): def update(nodes, element, configmanager, inputdata): if nodes is not None: return update_nodes(nodes, element, configmanager, inputdata) - elif element[0] == 'nodegroup': + elif element[0] == 'groups': return update_nodegroup(element[1], element[3], configmanager, inputdata) raise Exception("This line should never be reached")