Skip to content

Commit

Permalink
Merge pull request #48157 from gtmanfred/2017.7.7
Browse files Browse the repository at this point in the history
always listen when gathering job info
  • Loading branch information
Nicole Thomas authored Jun 17, 2018
2 parents b98c52e + d8209e8 commit 8af4452
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion salt/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def _get_timeout(self, timeout):
# Looks like the timeout is invalid, use config
return self.opts['timeout']

def gather_job_info(self, jid, tgt, tgt_type, **kwargs):
def gather_job_info(self, jid, tgt, tgt_type, listen=True, **kwargs):
'''
Return the information about a given job
'''
Expand All @@ -233,6 +233,7 @@ def gather_job_info(self, jid, tgt, tgt_type, **kwargs):
arg=[jid],
tgt_type=tgt_type,
timeout=timeout,
listen=listen,
**kwargs
)

Expand Down

0 comments on commit 8af4452

Please sign in to comment.