Skip to content

Commit

Permalink
sshcon: remove use of self.ssh_conf
Browse files Browse the repository at this point in the history
Signed-off-by: Guy Lichtman <glicht@users.noreply.github.com>
  • Loading branch information
glicht committed May 31, 2022
1 parent a48a5a9 commit f807e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/transport/sshconn.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def _create_paramiko_client(self, base_url):
host_config = conf.lookup(base_url.hostname)
if 'proxycommand' in host_config:
self.ssh_params["sock"] = paramiko.ProxyCommand(
self.ssh_conf['proxycommand']
host_config['proxycommand']
)
if 'hostname' in host_config:
self.ssh_params['hostname'] = host_config['hostname']
Expand Down

0 comments on commit f807e43

Please sign in to comment.