ihorlukianov commented on code in PR #68674:
URL: https://github.com/apache/airflow/pull/68674#discussion_r3435134858
##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor.py:
##########
@@ -813,11 +823,13 @@ def _adopt_completed_pods(self, kube_client:
client.CoreV1Api) -> None:
continue
ti_id = annotations_to_key(pod.metadata.annotations)
+ pod_name = pod.metadata.name
+ self.completed = {result for result in self.completed if
result.pod_name != pod_name}
Review Comment:
I also included the namespace in the dict key since the
https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/stable/configurations-ref.html#multi-namespace-mode
exists
--
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]