mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
cmd state: add space after comma
************* Module salt.states.cmd C0324:616,8:script: Comma not followed by a space cmd_kwargs.update({'args': name.split(' ',1)[1]}) ^^
This commit is contained in:
parent
c3c767a6ac
commit
ed37f13709
@ -613,7 +613,7 @@ def script(name,
|
||||
|
||||
# If script args present split from name and define args
|
||||
if len(name.split()) > 1:
|
||||
cmd_kwargs.update({'args': name.split(' ',1)[1]})
|
||||
cmd_kwargs.update({'args': name.split(' ', 1)[1]})
|
||||
|
||||
try:
|
||||
cret = _run_check(
|
||||
|
Loading…
Reference in New Issue
Block a user