mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Fix persistence of group data on node deletion.
This commit is contained in:
parent
f326a03d33
commit
9d8ff78716
@ -572,6 +572,7 @@ class ConfigManager(object):
|
||||
if group not in groups:
|
||||
if node in self._cfgstore['groups'][group]['nodes']:
|
||||
self._cfgstore['groups'][group]['nodes'].discard(node)
|
||||
_mark_dirtykey('groups', group, self.tenant)
|
||||
self._node_removed_from_group(node, group)
|
||||
for group in groups:
|
||||
if group not in self._cfgstore['groups']:
|
||||
|
Loading…
Reference in New Issue
Block a user