mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-25 20:50:28 +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:
@@ -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")
|
||||
|
Reference in New Issue
Block a user