turbaszek commented on a change in pull request #10829:
URL: https://github.com/apache/airflow/pull/10829#discussion_r499415854
##########
File path: airflow/providers/amazon/aws/transfers/gcs_to_s3.py
##########
@@ -177,7 +182,9 @@ def execute(self, context):
dest_key = self.dest_s3_key + file
self.log.info("Saving file to %s", dest_key)
- s3_hook.load_bytes(file_bytes, key=dest_key,
replace=self.replace)
+ s3_hook.load_bytes(
+ file_bytes, key=dest_key, replace=self.replace,
s3_acl_policy=self.s3_acl_policy
Review comment:
```suggestion
file_bytes, key=dest_key, replace=self.replace,
acl_policy=self. s3_acl_policy
```
The `load_bytes` method has not `s3_acl_policy` argument.
----------------------------------------------------------------
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]