mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Process events even without 'id' in them
This was breaking syndic matching. The syndic would return its list of expected minions, but that event does not have 'id' in it. Thus, the master would not process that event and it would either result in huge delays for minion returns or the returns for minions under syndics wouldn't appear at all on the CLI.
This commit is contained in:
parent
3b4cf81766
commit
91b03329e4
@ -1030,7 +1030,7 @@ class LocalClient(object):
|
||||
syndic_wait = 0
|
||||
while True:
|
||||
raw = self.event.get_event(timeout, jid)
|
||||
if raw is not None and 'id' in raw:
|
||||
if raw is not None:
|
||||
if 'minions' in raw.get('data', {}):
|
||||
minions.update(raw['data']['minions'])
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user