fixed globbing when no minions are found

This commit is contained in:
Mike Wilkerson 2012-06-29 12:47:33 -04:00
parent a8d3ac3de1
commit 6805eae79a

View File

@ -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)