Lee-W commented on issue #31720: URL: https://github.com/apache/airflow/issues/31720#issuecomment-1578481106
I'd like to clarify what we're expecting. Following https://github.com/apache/airflow/pull/30853#discussion_r1187018026, we want to make the code https://github.com/apache/airflow/pull/30853/files#diff-773b6f4e9d2870f384d4e4e60763e8bedecfdb9020bf737b6557f0b9d0ca74a9R207-R210 works like the following? ```python if attempt >= int(self.max_attempts): syedahsn marked this conversation as resolved. self.log.error("Pause Cluster Failed - max attempts reached.") yield TriggerEvent( {"status": "failure", "message": "Pause Cluster Failed - max attempts reached."} ) ``` -- 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]
