mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Lint
This commit is contained in:
parent
efb8abe906
commit
8941245800
@ -23,7 +23,7 @@ def mmatch(expr,
|
||||
If 'greedy' return accepted minions that matched by the condition or absent in the cache.
|
||||
If not 'greedy' return the only minions have cache data and matched by the condition.
|
||||
'''
|
||||
ckminions = salt.utils.minions.CkMinions()
|
||||
ckminions = salt.utils.minions.CkMinions(__opts__)
|
||||
|
||||
return ckminions._check_cache_minions(expr, delimiter, greedy,
|
||||
search_type, regex_match=regex_match,
|
||||
|
@ -18,6 +18,6 @@ def mmatch(expr, delimiter, greedy):
|
||||
'''
|
||||
Return the minions found by looking via pillar
|
||||
'''
|
||||
ckminions = salt.utils.minions.CkMinions()
|
||||
ckminions = salt.utils.minions.CkMinions(__opts__)
|
||||
return ckminions._check_compound_minions(expr, delimiter, greedy,
|
||||
exact_match=True)
|
||||
pillar_exact=True)
|
||||
|
Loading…
Reference in New Issue
Block a user