mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
fix: salt ssh args parsing
This commit is contained in:
parent
6c3e7faa18
commit
70f2ba394e
@ -477,8 +477,10 @@ class SSH(object):
|
||||
args = [arg_str]
|
||||
else:
|
||||
cmd_args = arg_str.split(None, 1)
|
||||
fun = cmd_args[0]
|
||||
args = [cmd_args[1]]
|
||||
fun = cmd_args.pop()
|
||||
args = []
|
||||
if cmd_args:
|
||||
args = [cmd_args]
|
||||
|
||||
job_load = {
|
||||
'jid': jid,
|
||||
|
Loading…
Reference in New Issue
Block a user