From 7173913db61a24b9316004ee03fc1da550b6a149 Mon Sep 17 00:00:00 2001 From: garciam Date: Fri, 26 Jul 2024 13:26:36 +0200 Subject: [PATCH] fix copy 2 --- cdsobs/cli/_copy_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdsobs/cli/_copy_dataset.py b/cdsobs/cli/_copy_dataset.py index f560fb1..2f52bbe 100644 --- a/cdsobs/cli/_copy_dataset.py +++ b/cdsobs/cli/_copy_dataset.py @@ -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