Merge pull request #44972 from terminalmage/bp-44958

Backport #44958 to 2016.11 branch
This commit is contained in:
Nicole Thomas 2017-12-14 11:56:01 -05:00 committed by GitHub
commit 9a7406207f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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