mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #42444 from garethgreenaway/42357_2017_7_pass_args_kwargs_correctly
[2017.7] Fix to slack engine
This commit is contained in:
commit
10e4d9234b
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ def start(token,
|
|||
# Default to trying to run as a client module.
|
||||
else:
|
||||
local = salt.client.LocalClient()
|
||||
ret = local.cmd('{0}'.format(target), cmd, args, kwargs, tgt_type='{0}'.format(tgt_type))
|
||||
ret = local.cmd('{0}'.format(target), cmd, arg=args, kwarg=kwargs, tgt_type='{0}'.format(tgt_type))
|
||||
|
||||
if ret:
|
||||
return_text = json.dumps(ret, sort_keys=True, indent=1)
|
||||
|
|
Loading…
Add table
Reference in a new issue