ColtenOuO commented on code in PR #70474:
URL: https://github.com/apache/airflow/pull/70474#discussion_r3653896857


##########
providers/amazon/src/airflow/providers/amazon/aws/triggers/ecs.py:
##########
@@ -167,6 +171,9 @@ def __init__(
 
         self.log_group = log_group
         self.log_stream = log_stream
+        # Triggers serialized before this parameter existed deserialize with 
None, keeping the
+        # previous behaviour of reading logs from the cluster region.
+        self.log_region_name = log_region_name if log_region_name is not None 
else region_name

Review Comment:
   Makes sense, I've moved the fallback to where the `AwsLogsHook` is built, so 
`log_region_name` now keeps the value the caller passed.
   
   Thanks for pointing that!



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