mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Add function args for returners
This commit is contained in:
parent
e7ae71f3cd
commit
3f830a51bf
@ -724,6 +724,7 @@ class Minion(object):
|
||||
|
||||
ret['jid'] = data['jid']
|
||||
ret['fun'] = data['fun']
|
||||
ret['fun_args'] = data['arg']
|
||||
minion_instance._return_pub(ret)
|
||||
if data['ret']:
|
||||
ret['id'] = opts['id']
|
||||
@ -770,6 +771,8 @@ class Minion(object):
|
||||
)
|
||||
ret['return'][data['fun'][ind]] = trb
|
||||
ret['jid'] = data['jid']
|
||||
ret['fun'] = data['fun']
|
||||
ret['fun_args'] = data['arg']
|
||||
minion_instance._return_pub(ret)
|
||||
if data['ret']:
|
||||
for returner in set(data['ret'].split(',')):
|
||||
|
Loading…
Reference in New Issue
Block a user