mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
make the jid in the ssh minion payload the same as the one for the tag
This commit is contained in:
parent
d3a556a6f3
commit
7e9f673675
1 changed files with 2 additions and 0 deletions
|
@ -663,6 +663,7 @@ class SSH(object):
|
|||
self.cache_job(jid, host, ret[host], fun)
|
||||
if self.event:
|
||||
_, data = next(six.iteritems(ret))
|
||||
data['jid'] = jid # make the jid in the payload the same as the jid in the tag
|
||||
self.event.fire_event(
|
||||
data,
|
||||
salt.utils.event.tagify(
|
||||
|
@ -773,6 +774,7 @@ class SSH(object):
|
|||
self.opts)
|
||||
if self.event:
|
||||
_, data = next(six.iteritems(ret))
|
||||
data['jid'] = jid # make the jid in the payload the same as the jid in the tag
|
||||
self.event.fire_event(
|
||||
data,
|
||||
salt.utils.event.tagify(
|
||||
|
|
Loading…
Add table
Reference in a new issue