AutomationDev85 opened a new pull request, #55371:
URL: https://github.com/apache/airflow/pull/55371

   # Overview
   
   We are encountering an issue where, when stopping a pod that is in the 
pending state, the operator attempts to access the container statuses. However, 
since no containers exist while the pod is pending, container_statuses is None. 
This leads to a crash when the code tries to iterate over the statuses in a for 
loop. To prevent this, a more robust approach to reading pod.container_statuses 
is needed.
   
   
   # Details of change:
   * Add more robust reading of container_statuses


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