mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Merge pull request #52696 from Ch3LL/bp-50087
Backport #50087 into 2019.2.1
This commit is contained in:
commit
806307aecf
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ def returner(ret):
|
|||
'''
|
||||
Write the return data to a file on the minion.
|
||||
'''
|
||||
opts = _get_options({}) # Pass in empty ret, since this is a list of events
|
||||
opts = _get_options(ret)
|
||||
try:
|
||||
with salt.utils.files.flopen(opts['filename'], 'a') as logfile:
|
||||
salt.utils.json.dump(ret, logfile)
|
||||
|
|
Loading…
Add table
Reference in a new issue