You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/23 01:13:31 UTC
[GitHub] [airflow] derkuci commented on a change in pull request #20474: Delay the creation of ssh proxy until `get_conn()`
derkuci commented on a change in pull request #20474:
URL: https://github.com/apache/airflow/pull/20474#discussion_r774258060
##########
File path: airflow/providers/ssh/hooks/ssh.py
##########
@@ -282,13 +282,14 @@ def get_conn(self) -> paramiko.SSHClient:
else:
pass # will fallback to system host keys if none explicitly specified in conn extra
+ host_proxy = self.host_proxy_cmd and paramiko.ProxyCommand(self.host_proxy_cmd)
Review comment:
Thanks. I was thinking the same (making `host_proxy` a property).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org