mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Turn None into an empty string (for minion matching)
This commit is contained in:
parent
d67f6937d7
commit
4073c91584
1 changed files with 2 additions and 0 deletions
|
@ -634,6 +634,8 @@ class CkMinions(object):
|
|||
make sure everyone has checked back in.
|
||||
'''
|
||||
try:
|
||||
if expr is None:
|
||||
expr = ''
|
||||
check_func = getattr(self, '_check_{0}_minions'.format(expr_form), None)
|
||||
if expr_form in ('grain',
|
||||
'grain_pcre',
|
||||
|
|
Loading…
Add table
Reference in a new issue