mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
Fix test
This commit is contained in:
parent
8d3f32bae2
commit
c42338b8e0
@ -578,6 +578,7 @@ void S3ObjectStorage::applyNewSettings(
|
|||||||
auto settings_from_config = getSettings(config, config_prefix, context, context->getSettingsRef().s3_validate_request_settings);
|
auto settings_from_config = getSettings(config, config_prefix, context, context->getSettingsRef().s3_validate_request_settings);
|
||||||
auto modified_settings = std::make_unique<S3ObjectStorageSettings>(*s3_settings.get());
|
auto modified_settings = std::make_unique<S3ObjectStorageSettings>(*s3_settings.get());
|
||||||
modified_settings->auth_settings.updateFrom(settings_from_config->auth_settings);
|
modified_settings->auth_settings.updateFrom(settings_from_config->auth_settings);
|
||||||
|
modified_settings->request_settings = settings_from_config->request_settings;
|
||||||
|
|
||||||
if (auto endpoint_settings = context->getStorageS3Settings().getSettings(uri.uri.toString(), context->getUserName()))
|
if (auto endpoint_settings = context->getStorageS3Settings().getSettings(uri.uri.toString(), context->getUserName()))
|
||||||
modified_settings->auth_settings.updateFrom(endpoint_settings->auth_settings);
|
modified_settings->auth_settings.updateFrom(endpoint_settings->auth_settings);
|
||||||
|
Loading…
Reference in New Issue
Block a user