2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-25 12:41:39 +00:00

Fix for removing groups providing multiple values

I don't know how this was missed for so long,
but removing a group providing multiple values would produce an error and fail.
This commit is contained in:
Jarrod Johnson 2020-07-17 11:48:49 -04:00
parent 9f429f5af9
commit fd46bae24f

View File

@ -1628,7 +1628,7 @@ class ConfigManager(object):
nodecfg = self._cfgstore['nodes'][node]
except KeyError: # node did not exist, nothing to do
return
for attrib in nodecfg.keys():
for attrib in list(nodecfg.keys()):
if attrib.startswith("_"):
continue
if attrib == 'groups':