mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-28 20:39:40 +00:00
Update attribute inheritance on rename
This commit is contained in:
parent
81b57d5db6
commit
3560415668
@ -2353,6 +2353,9 @@ class ConfigManager(object):
|
||||
lidx = self._cfgstore['nodes'][node]['groups'].index(name)
|
||||
self._cfgstore['nodes'][node]['groups'][lidx] = renamemap[name]
|
||||
_mark_dirtykey('nodes', node, self.tenant)
|
||||
for node in self._cfgstore['nodegroups'][renamemap[name]].get('nodes', []):
|
||||
self._node_removed_from_group(node, name, {})
|
||||
self._node_added_to_group(node, renamemap[name], {})
|
||||
self._bg_sync_to_file()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user