-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Handle missing container_statuses in pod_manager.get_container_status #47936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
|
|
@mrk-andreev you are the author of PR I linked, could you give my change a review? |
|
@ForeverWintr, thank you for fixing it! Looks good from my side. |
a72aa50 to
3ac4a42
Compare
|
@jedcunningham or @hussein-awala, could one of you take a look at this? |
3ac4a42 to
cf5a408
Compare
9377ceb to
d77227e
Compare
d77227e to
b9773b1
Compare
|
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
…apache#47936) * Add failing example test * Handle cases where container_statuses is None
…apache#47936) * Add failing example test * Handle cases where container_statuses is None
…apache#47936) * Add failing example test * Handle cases where container_statuses is None
I believe there is a small bug in the cncf/kubernetes provider. Previously
get_container_statusinpod_manager.pywould handle cases wherepod.status.container_statusesisNone, but after #43853 it does not. This PR adds a test illustrating the issue, and fixes it.