o-nikolas commented on code in PR #73109:
URL: https://github.com/apache/airflow/pull/73109#discussion_r4051385481


##########
providers/amazon/src/airflow/providers/amazon/aws/operators/eks.py:
##########
@@ -872,7 +872,8 @@ def delete_any_fargate_profiles(self) -> None:
     def execute_complete(self, context: Context, event: dict[str, Any] | None 
= None) -> None:
         validated_event = validate_execute_complete_event(event)
 
-        if validated_event["status"] == "success":
+        # EksDeleteClusterTrigger yields status "deleted" (not "success") when 
the cluster is gone.
+        if validated_event["status"] == "deleted":

Review Comment:
   Maybe check if the status is either "success" or "deleted" that way we can 
in the future transition to the usual event without breakage



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