mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
runner return: also add tgt to the payload
This commit is contained in:
parent
0d6691aa1e
commit
c5354cdca7
@ -253,7 +253,8 @@ class SyncClientMixin(object):
|
||||
namespaced_event.fire_event(data, 'ret')
|
||||
salt.utils.job.store_job(
|
||||
self.opts,
|
||||
{'id': self.opts['id'], 'jid': data['jid'], 'return': data},
|
||||
{'id': self.opts['id'], 'tgt': self.opts['id'],
|
||||
'jid': data['jid'], 'return': data},
|
||||
event=None)
|
||||
# if we fired an event, make sure to delete the event object.
|
||||
# This will ensure that we call destroy, which will do the 0MQ linger
|
||||
|
Loading…
Reference in New Issue
Block a user