mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
added-highstate-output-to-slack-engine
This commit is contained in:
parent
573a0a4143
commit
4526c158f1
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ def start(token,
|
|||
ret = local.cmd('{0}'.format(target), cmd, arg=args, kwarg=kwargs, tgt_type='{0}'.format(tgt_type))
|
||||
|
||||
if ret:
|
||||
salt.output.highstate.__opts__ = __opts__
|
||||
salt.output.highstate.__opts__ = __opts__
|
||||
if 'color' not in salt.output.highstate.__opts__:
|
||||
salt.output.highstate.__opts__.update({"color": ""})
|
||||
return_text = salt.output.highstate.output(ret)
|
||||
|
|
Loading…
Add table
Reference in a new issue