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:
parent
6997508a0c
commit
dba4c40f0e
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user