mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #27838 from basepi/fix.runner.highstate.outputter.27831
[2015.5] Fix highstate outputter for jobs.lookup_jid
This commit is contained in:
commit
7508a1c474
2 changed files with 1 additions and 6 deletions
|
@ -446,11 +446,6 @@ class AsyncClientMixin(object):
|
|||
except AttributeError:
|
||||
outputter = None
|
||||
|
||||
try:
|
||||
if event.get('return').get('outputter'):
|
||||
event['return'].pop('outputter')
|
||||
except AttributeError:
|
||||
pass
|
||||
# if this is a ret, we have our own set of rules
|
||||
if suffix == 'ret':
|
||||
# Check if ouputter was passed in the return data. If this is the case,
|
||||
|
|
|
@ -112,7 +112,7 @@ def orchestrate(mods, saltenv='base', test=None, exclude=None, pillar=None):
|
|||
test,
|
||||
exclude,
|
||||
pillar=pillar)
|
||||
ret = {minion.opts['id']: running, 'outputter': 'highstate'}
|
||||
ret = {'data': {minion.opts['id']: running}, 'outputter': 'highstate'}
|
||||
return ret
|
||||
|
||||
# Aliases for orchestrate runner
|
||||
|
|
Loading…
Add table
Reference in a new issue