kaxil commented on a change in pull request #11020:
URL: https://github.com/apache/airflow/pull/11020#discussion_r491165720



##########
File path: airflow/providers/amazon/aws/operators/datasync.py
##########
@@ -335,9 +335,10 @@ def _execute_datasync_task(self):
         # Log some meaningful statuses
         level = logging.ERROR if not result else logging.INFO
         self.log.log(level, 'Status=%s', task_execution_description['Status'])
-        for k, v in task_execution_description['Result'].items():
-            if 'Status' in k or 'Error' in k:
-                self.log.log(level, '%s=%s', k, v)
+        if 'Result' in task_execution_description:

Review comment:
       you might want to unpin the moto version too for the tests




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to