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:
parent
e01c96e534
commit
66e90394be
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user