mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Create a set from the minion list
This commit is contained in:
parent
7fb1dba182
commit
67521917c4
@ -652,6 +652,8 @@ class CkMinions(object):
|
||||
v_minions = self._expand_matching(valid)
|
||||
if minions is None:
|
||||
minions = set(self.check_minions(expr, expr_form))
|
||||
else:
|
||||
minions = set(minions)
|
||||
d_bool = not bool(minions.difference(v_minions))
|
||||
if len(v_minions) == len(minions) and d_bool:
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user