mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #44972 from terminalmage/bp-44958
Backport #44958 to 2016.11 branch
This commit is contained in:
commit
9a7406207f
@ -36,7 +36,7 @@ log = logging.getLogger(__name__)
|
||||
|
||||
def _ping(tgt, expr_form, timeout, gather_job_timeout):
|
||||
client = salt.client.get_local_client(__opts__['conf_file'])
|
||||
pub_data = client.run_job(tgt, 'test.ping', (), expr_form, '', timeout, '')
|
||||
pub_data = client.run_job(tgt, 'test.ping', (), expr_form, '', timeout, '', listen=True)
|
||||
|
||||
if not pub_data:
|
||||
return pub_data
|
||||
|
Loading…
Reference in New Issue
Block a user