mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +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