o-nikolas commented on a change in pull request #19907:
URL: https://github.com/apache/airflow/pull/19907#discussion_r759708573



##########
File path: airflow/providers/amazon/aws/log/cloudwatch_task_handler.py
##########
@@ -81,7 +81,7 @@ def set_context(self, ti):
         self.handler = watchtower.CloudWatchLogHandler(
             log_group=self.log_group,
             stream_name=self._render_filename(ti, ti.try_number),
-            boto3_session=self.hook.get_session(self.region_name),
+            boto3_client=self.hook.get_conn(),

Review comment:
       Watchtower now expects a Boto3 client instead of a session, this was 
changed in this commit: 
https://github.com/kislyuk/watchtower/commit/a6232505d5aba2f5d2a67641e30bfbaa5874a0fa




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