mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #42710 from gtmanfred/syndic
use subtraction instead of or
This commit is contained in:
commit
03a7f9bbee
1 changed files with 1 additions and 1 deletions
|
@ -738,7 +738,7 @@ class LocalClient(object):
|
|||
ret[mid] = (data if full_return
|
||||
else data.get('ret', {}))
|
||||
|
||||
for failed in list(set(pub_data['minions']) ^ set(ret)):
|
||||
for failed in list(set(pub_data['minions']) - set(ret)):
|
||||
ret[failed] = False
|
||||
return ret
|
||||
finally:
|
||||
|
|
Loading…
Add table
Reference in a new issue