mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +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
@ -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…
Reference in New Issue
Block a user