deal with conflict

This commit is contained in:
xuelei 2023-08-28 06:05:21 -03:00
parent 7b4902133d
commit 636e7ddae7
2 changed files with 0 additions and 2 deletions

View File

@ -45,7 +45,6 @@ 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('/');

View File

@ -104,7 +104,6 @@ void registerDiskS3(DiskFactory & factory, bool global_skip_access_check)
{
String endpoint = context->getMacros()->expand(config.getString(config_prefix + ".endpoint"));
S3::URI uri(endpoint);
if(!uri.key.ends_with('/'))
uri.key.push_back('/');