CalvinKirs commented on code in PR #60903:
URL: https://github.com/apache/doris/pull/60903#discussion_r2878719940


##########
be/src/util/s3_util.cpp:
##########
@@ -313,14 +313,9 @@ std::shared_ptr<io::ObjStorageClient> 
S3ClientFactory::_create_azure_client(
             
std::make_shared<Azure::Storage::StorageSharedKeyCredential>(s3_conf.ak, 
s3_conf.sk);
 
     const std::string container_name = s3_conf.bucket;
-    std::string uri;
-    if (config::force_azure_blob_global_endpoint) {
-        uri = fmt::format("https://{}.blob.core.windows.net/{}";, s3_conf.ak, 
container_name);
-    } else {
-        uri = fmt::format("{}/{}", s3_conf.endpoint, container_name);
-        if (s3_conf.endpoint.find("://") == std::string::npos) {
-            uri = "https://"; + uri;
-        }
+    std::string uri = fmt::format("{}/{}", s3_conf.endpoint, container_name);

Review Comment:
   If necessary, this should be placed in normalized_uri.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to