mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
change return to yield, more to come
This commit is contained in:
parent
e59c9fbd99
commit
bae51edae4
@ -213,7 +213,7 @@ class LocalClient(object):
|
||||
timeout=timeout)
|
||||
if pub_data['jid'] == 0:
|
||||
print 'Failed to connect to the Master, is the Salt Master running?'
|
||||
return {}
|
||||
yield {}
|
||||
for fn_ret in self.get_cli_returns(pub_data['jid'],
|
||||
pub_data['minions'],
|
||||
timeout,
|
||||
|
Loading…
Reference in New Issue
Block a user