josh-fell commented on code in PR #29274:
URL: https://github.com/apache/airflow/pull/29274#discussion_r1092751084


##########
airflow/providers/amazon/aws/sensors/redshift_cluster.py:
##########
@@ -56,8 +56,14 @@ def __init__(
         self.aws_conn_id = aws_conn_id
 
     def poke(self, context: Context):
-        self.log.info("Poking for status : %s\nfor cluster %s", 
self.target_status, self.cluster_identifier)
-        return self.hook.cluster_status(self.cluster_identifier) == 
self.target_status
+        current_status = self.hook.cluster_status(self.cluster_identifier)
+        self.log.info(
+            "Poked cluster %s for status '%s', found status '%s'",

Review Comment:
   ```suggestion
               "Poked cluster %s for status %r, found status %r",
   ```



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to