Adaverse commented on code in PR #32322:
URL: https://github.com/apache/airflow/pull/32322#discussion_r1250330709
##########
airflow/providers/amazon/aws/transfers/gcs_to_s3.py:
##########
@@ -161,6 +161,9 @@ def execute(self, context: Context) -> list[str]:
# and only keep those files which are present in
# Google Cloud Storage and not in S3
bucket_name, prefix = S3Hook.parse_s3_url(self.dest_s3_key)
+ # only if prefix is not empty
Review Comment:
My bad. It slipped my attention. Had in mind to add a comment.
Added now.
--
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]