mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Update diskSettings.cpp
This commit is contained in:
parent
8d2c03ea26
commit
58a1160095
@ -45,6 +45,7 @@ std::unique_ptr<S3::Client> getClient(
|
||||
{
|
||||
String endpoint = context->getMacros()->expand(config.getString(config_prefix + ".endpoint"));
|
||||
S3::URI uri(endpoint);
|
||||
|
||||
if(!uri.key.ends_with('/'))
|
||||
uri.key.push_back('/');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user