You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "uranusjr (via GitHub)" <gi...@apache.org> on 2023/04/19 10:24:03 UTC

[GitHub] [airflow] uranusjr commented on a diff in pull request #30733: Deprecate `skip_exit_code` in `DockerOperator` and `KubernetesPodOperator`

uranusjr commented on code in PR #30733:
URL: https://github.com/apache/airflow/pull/30733#discussion_r1171139260


##########
airflow/providers/docker/operators/docker.py:
##########
@@ -276,7 +277,10 @@ def __init__(
         self.log_opts_max_size = log_opts_max_size
         self.log_opts_max_file = log_opts_max_file
         self.ipc_mode = ipc_mode
-        self.skip_exit_code = skip_exit_code
+        if skip_exit_code:

Review Comment:
   Is `skip_exit_code=0` a valid use case? If it is, we’ll need to use `is not None` here.



-- 
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