You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/09/18 20:07:29 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #11020: Fix AWS DataSync tests failing (#10985)

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:
users@infra.apache.org