Update registerDiskS3.cpp

This commit is contained in:
xiaolei565 2023-08-28 11:41:53 +08:00 committed by GitHub
parent b9e872ddf7
commit 8d2c03ea26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ void registerDiskS3(DiskFactory & factory, bool global_skip_access_check)
S3::URI uri(endpoint);
if(!uri.key.ends_with('/'))
uri.key.push_back('/');
S3Capabilities s3_capabilities = getCapabilitiesFromConfig(config, config_prefix);
std::shared_ptr<S3ObjectStorage> s3_storage;