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


##########
be/src/cloud/cloud_backend_service.cpp:
##########
@@ -151,7 +151,19 @@ void 
CloudBackendService::warm_up_tablets(TWarmUpTabletsResponse& response,
 
 void CloudBackendService::warm_up_cache_async(TWarmUpCacheAsyncResponse& 
response,
                                               const TWarmUpCacheAsyncRequest& 
request) {
-    std::string brpc_addr = fmt::format("{}:{}", request.host, 
request.brpc_port);
+    std::string host = request.host;
+    auto dns_cache = ExecEnv::GetInstance()->dns_cache();

Review Comment:
   warning: 'auto dns_cache' can be declared as 'auto *dns_cache' 
[readability-qualified-auto]
   
   ```suggestion
       auto *dns_cache = ExecEnv::GetInstance()->dns_cache();
   ```
   



-- 
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-unsubscr...@doris.apache.org

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


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

Reply via email to