You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "github-actions[bot] (via GitHub)" <gi...@apache.org> on 2024/06/03 06:06:31 UTC

Re: [PR] [feature](Cloud) Add azure's support to BE [doris]

github-actions[bot] commented on code in PR #35670:
URL: https://github.com/apache/doris/pull/35670#discussion_r1623826105


##########
be/src/cloud/cloud_meta_mgr.cpp:
##########
@@ -813,17 +835,21 @@ Status CloudMetaMgr::get_storage_vault_info(StorageVaultInfos* vault_infos) {
     }
 
     auto add_obj_store = [&vault_infos](const auto& obj_store) {
-        vault_infos->emplace_back(obj_store.id(),
-                                  S3Conf {
-                                          .bucket = obj_store.bucket(),
-                                          .prefix = obj_store.prefix(),
-                                          .client_conf {.endpoint = obj_store.endpoint(),
-                                                        .region = obj_store.region(),
-                                                        .ak = obj_store.ak(),
-                                                        .sk = obj_store.sk()},
-                                          .sse_enabled = obj_store.sse_enabled(),
-                                          .provider = obj_store.provider(),
-                                  });
+        vault_infos->emplace_back(
+                obj_store.id(),
+                S3Conf {
+                        .bucket = obj_store.bucket(),
+                        .prefix = obj_store.prefix(),
+                        .client_conf {
+                                .endpoint = obj_store.endpoint(),

Review Comment:
   warning: statement should be inside braces [readability-braces-around-statements]
   
   ```suggestion
           if (!j->has_obj_info()) { continue;
   }
   ```
   



-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org