potix2 commented on a change in pull request #11531:
URL: https://github.com/apache/airflow/pull/11531#discussion_r505807619



##########
File path: airflow/providers/amazon/aws/operators/datasync.py
##########
@@ -307,18 +317,22 @@ def _create_datasync_task(self):
         if not self.task_arn:
             raise AirflowException("Task could not be created")
         self.log.info("Created a Task with TaskArn %s", self.task_arn)
-        return self.task_arn

Review comment:
       This returned value is not used anywhere and `_create_datasync_task` is 
private method.




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