Skip to content

Commit

Permalink
fix copy 2
Browse files Browse the repository at this point in the history
  • Loading branch information
garciampred committed Jul 26, 2024
1 parent 6147ab4 commit 7173913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdsobs/cli/_copy_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def copy_outside(init_config, dest_config, dataset, dest_dataset):
with get_session(init_config.catalogue_db) as init_session:
entries = CatalogueRepository(init_session).get_by_dataset(dataset)
if init_config.s3config == dest_config.s3config:
new_assets = s3_copy(dest_config, entries, dest_dataset)
new_assets = s3_copy(dest_config.s3config, entries, dest_dataset)
dest_s3client = init_s3client
else:
# get new destination client as current client
Expand Down

0 comments on commit 7173913

Please sign in to comment.