syedahsn commented on code in PR #32355:
URL: https://github.com/apache/airflow/pull/32355#discussion_r1254992043


##########
airflow/providers/amazon/aws/operators/eks.py:
##########
@@ -273,12 +280,28 @@ def execute(self, context: Context):
 
         # Short circuit early if we don't need to wait to attach compute
         # and the caller hasn't requested to wait for the cluster either.
-        if not self.compute and not self.wait_for_completion:
+        # if not self.compute and not self.wait_for_completion and not 
self.deferrable:
+        #     return None
+        if not any([self.compute, self.wait_for_completion, self.deferrable]):
             return None
 
         self.log.info("Waiting for EKS Cluster to provision.  This will take 
some time.")

Review Comment:
   Good eye!



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