2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-28 11:57:37 +00:00

Fix incorrect deletion of group when node deleted

Accidently changed node deletion to target a group instead, fix
it back the way it was.
This commit is contained in:
Jarrod Johnson 2014-02-13 17:07:05 -05:00
parent e01c96e534
commit 66e90394be

View File

@ -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")