dolfinus commented on code in PR #36355:
URL: https://github.com/apache/airflow/pull/36355#discussion_r1434553256


##########
airflow/providers/cncf/kubernetes/operators/pod.py:
##########
@@ -753,7 +753,7 @@ def cleanup(self, pod: k8s.V1Pod, remote_pod: k8s.V1Pod):
             self.process_pod_deletion(remote_pod, reraise=False)
 
             error_message = get_container_termination_message(remote_pod, 
self.base_container_name)
-            if self.skip_on_exit_code is not None:
+            if self.skip_on_exit_code:

Review Comment:
   Well, I have to change few more things to make this work



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to