mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #7686 from evinrude/develop
Make function args available to returners in salt-call
This commit is contained in:
commit
ccad2c5322
@ -101,6 +101,7 @@ class Caller(object):
|
||||
if self.opts.get('return', ''):
|
||||
ret['id'] = self.opts['id']
|
||||
ret['fun'] = fun
|
||||
ret['fun_args'] = self.opts['arg']
|
||||
for returner in self.opts['return'].split(','):
|
||||
try:
|
||||
self.minion.returners['{0}.returner'.format(returner)](ret)
|
||||
|
Loading…
Reference in New Issue
Block a user