mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #15056 from dmyerscough/fix-ssh-timeout
Fix #14981 ssh timeout
This commit is contained in:
commit
84da7fd57e
@ -1446,7 +1446,8 @@ class SSHClient(object):
|
|||||||
'''
|
'''
|
||||||
opts = copy.deepcopy(self.opts)
|
opts = copy.deepcopy(self.opts)
|
||||||
opts.update(kwargs)
|
opts.update(kwargs)
|
||||||
opts['timeout'] = timeout
|
if timeout:
|
||||||
|
opts['timeout'] = timeout
|
||||||
arg = salt.utils.args.condition_input(arg, kwarg)
|
arg = salt.utils.args.condition_input(arg, kwarg)
|
||||||
opts['argv'] = [fun] + arg
|
opts['argv'] = [fun] + arg
|
||||||
opts['selected_target_option'] = expr_form
|
opts['selected_target_option'] = expr_form
|
||||||
|
Loading…
Reference in New Issue
Block a user