mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Update minion to return extra key data to master
This commit is contained in:
parent
2156fbea29
commit
68b5aacf58
@ -548,10 +548,12 @@ class Minion(object):
|
||||
continue
|
||||
load['return'][key] = value
|
||||
else:
|
||||
load = {'return': ret['return'],
|
||||
'cmd': ret_cmd,
|
||||
'jid': ret['jid'],
|
||||
load = {'cmd': ret_cmd,
|
||||
'id': self.opts['id']}
|
||||
for key, value in ret.items():
|
||||
if key == 'fun':
|
||||
continue
|
||||
load[key] = value
|
||||
try:
|
||||
if hasattr(self.functions[ret['fun']], '__outputter__'):
|
||||
oput = self.functions[ret['fun']].__outputter__
|
||||
|
Loading…
Reference in New Issue
Block a user