Skip to content

Commit 2788571

Browse files
TonioFforman
andauthored
Update xcube/webapi/context.py
Co-authored-by: Norman Fomferra <[email protected]>
1 parent af03925 commit 2788571

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xcube/webapi/context.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,8 @@ def _get_other_store_params_than_root(self,
378378
client_kwargs['endpoint_url'] = dataset_config['Endpoint']
379379
if 'Region' in dataset_config:
380380
client_kwargs['region_name'] = dataset_config['Region']
381-
store_params['storage_options']['client_kwargs'] = client_kwargs
381+
storage_options['client_kwargs'] = client_kwargs
382+
store_params = dict(storage_options=storage_options)
382383
return store_params
383384

384385
def get_dataset_configs_from_stores(self) \

0 commit comments

Comments
 (0)