Skip to content

Commit

Permalink
Update airflow/providers/cncf/kubernetes/executors/kubernetes_executo…
Browse files Browse the repository at this point in the history
…r_utils.py

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
  • Loading branch information
ephraimbuddy and jedcunningham committed Jun 13, 2024
1 parent a791c85 commit 171a655
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def process_status(
elif status == "Succeeded":
# We get multiple events once the pod hits a terminal state, and we only want to
# send it along to the scheduler once.
# If our event type is DELETED, the pod has a deletion timestamp, we've already
# If our event type is DELETED, or the pod has a deletion timestamp, we've already
# seen the initial Succeeded event and sent it along to the scheduler.
if event["type"] == "DELETED" or pod.metadata.deletion_timestamp:
self.log.info(
Expand Down

0 comments on commit 171a655

Please sign in to comment.