ramitkataria commented on code in PR #75360:
URL: https://github.com/apache/airflow/pull/75360#discussion_r4361979671


##########
providers/amazon/src/airflow/providers/amazon/aws/operators/redshift_cluster.py:
##########
@@ -871,7 +874,7 @@ def __init__(
         self.max_attempts = max_attempts
 
     def execute(self, context: Context):
-        if self.deferrable:
+        if should_defer(deferrable=self.deferrable, 
wait_for_completion=self.wait_for_completion):

Review Comment:
   Thanks for the catch! Fixed: the settle wait now defers on `deferrable` 
alone and `should_defer` only gates the wait for deletion



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