mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #27291 from khrisrichardson/remove-dup-cmd_ret
Fixes https://github.com/saltstack/salt/pull/26355/files#r37261911
This commit is contained in:
commit
0dd68f73eb
@ -379,7 +379,6 @@ def function(
|
||||
).format(fun, tgt, str(False))
|
||||
ret['result'] = None
|
||||
return ret
|
||||
cmd_ret = __salt__['saltutil.cmd'](tgt, fun, **cmd_kw)
|
||||
try:
|
||||
cmd_ret = __salt__['saltutil.cmd'](tgt, fun, **cmd_kw)
|
||||
except Exception as exc:
|
||||
|
Loading…
Reference in New Issue
Block a user