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:
parent
9f429f5af9
commit
fd46bae24f
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user