Skip to content

Commit f026269

Browse files
committed
minor fix
1 parent 5a37fad commit f026269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Storages/ObjectStorage/Utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ std::pair<DB::ObjectStoragePtr, std::string> resolveObjectStorageForPath(
367367
normalized_path = "s3://" + target.authority + "/" + target.key;
368368
}
369369
S3::URI s3_uri(normalized_path);
370-
371-
std::string key_to_use = target.key;
370+
371+
std::string key_to_use = s3_uri.key;
372372

373373
bool use_base_storage = false;
374374
if (base_storage->getType() == ObjectStorageType::S3)

0 commit comments

Comments
 (0)