Skip to content

Commit

Permalink
fix GCSToGCSOperator bug when copy single object with replace to False (
Browse files Browse the repository at this point in the history
  • Loading branch information
NatchapolLaow authored Dec 26, 2024
1 parent 48a72b0 commit c81dcb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def _ignore_existing_files(self, hook, prefix, **kwargs):
dest_object.replace(self.destination_object, prefix, 1) for dest_object in destination_objects
]

objects = set(objects) - set(existing_objects)
objects = list(set(objects) - set(existing_objects))
if objects:
self.log.info("%s files are going to be synced: %s.", len(objects), objects)
else:
Expand Down

0 comments on commit c81dcb4

Please sign in to comment.