fatmumuhomer commented on a change in pull request #17236:
URL: https://github.com/apache/airflow/pull/17236#discussion_r683763029



##########
File path: airflow/providers/ssh/operators/ssh.py
##########
@@ -77,9 +87,24 @@ def __init__(
         self.remote_host = remote_host
         self.command = command
         self.timeout = timeout
+        self.conn_timeout = conn_timeout
+        self.cmd_timeout = cmd_timeout
+        if self.conn_timeout is None:
+            self.conn_timeout = self.timeout if self.timeout else 
TIMEOUT_DEFAULT

Review comment:
       Good catch! A test around this case would have caught this, too, so my 
fault for not creating one. I'll tackle both of those tonight.




-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to