2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 19:10:10 +00:00

Fix collective join with empty config

Collective join without a key set would fail on
first try.
This commit is contained in:
Jarrod Johnson 2021-01-21 11:19:13 -05:00
parent 6997508a0c
commit dba4c40f0e

View File

@ -785,7 +785,7 @@ def commit_clear():
# currently defined as local to each collective member
# currently just 'autosense' which is intended to be active
# per collective member
for globvar in _oldcfgstore['globals']:
for globvar in _oldcfgstore.get('globals', ()):
if globvar.endswith('_key'):
continue
_cfgstore['globals'][globvar] = _oldcfgstore['globals'][globvar]