From 66e90394becbfc62d056c8781427d6ba9a537123 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 13 Feb 2014 17:07:05 -0500 Subject: [PATCH] Fix incorrect deletion of group when node deleted Accidently changed node deletion to target a group instead, fix it back the way it was. --- confluent/pluginapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent/pluginapi.py b/confluent/pluginapi.py index da412d09..eb1948ad 100644 --- a/confluent/pluginapi.py +++ b/confluent/pluginapi.py @@ -125,7 +125,7 @@ def delete_nodegroup_collection(collectionpath, configmanager): def delete_node_collection(collectionpath, configmanager): if len(collectionpath) == 2: # just node node = collectionpath[-1] - configmanager.del_groups([node]) + configmanager.del_nodes([node]) yield msg.DeletedResource(node) else: raise Exception("Not implemented")