From ef4495004858d389d590dd25e7d2550a5b98f0da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20M=C3=BCller?= Date: Tue, 30 Apr 2024 00:56:58 +0200 Subject: [PATCH] reg: typo in dclab S3 instantiation --- CHANGELOG | 2 ++ dcor_shared/s3cc.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 98f26ee..34e19d0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,5 @@ +0.10.3 + - reg: typo in dclab S3 instantiation 0.10.2 - setup: bump dclab to 0.58.6 0.10.1 diff --git a/dcor_shared/s3cc.py b/dcor_shared/s3cc.py index 009e4ce..abfe779 100644 --- a/dcor_shared/s3cc.py +++ b/dcor_shared/s3cc.py @@ -181,9 +181,9 @@ def get_s3_dc_handle(resource_id): s3_url = get_s3_url_for_artifact(resource_id) ds = fmt_s3.RTDC_S3( url=s3_url, - secret_access_key=get_ckan_config_option( - "dcor_object_store.access_key_id"), access_key_id=get_ckan_config_option( + "dcor_object_store.access_key_id"), + secret_access_key=get_ckan_config_option( "dcor_object_store.secret_access_key"), # Disable basins, because they could point to files on the # local file system (security).