mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
fixed globbing when no minions are found
This commit is contained in:
parent
a8d3ac3de1
commit
6805eae79a
@ -833,7 +833,7 @@ class LocalClient(object):
|
||||
# forms possible
|
||||
minions = tgt
|
||||
elif not minions:
|
||||
return {'jid': '0',
|
||||
return {'jid': None,
|
||||
'minions': minions}
|
||||
|
||||
# Generate the standard keyword args to feed to format_payload
|
||||
@ -934,4 +934,3 @@ class Caller(object):
|
||||
func = self.sminion.functions[fun]
|
||||
args, kw = salt.minion.detect_kwargs(func, args, kwargs)
|
||||
return func(*args, **kw)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user