gaodayue commented on a change in pull request #2792: Reformat BE code 1/7
URL: https://github.com/apache/incubator-doris/pull/2792#discussion_r368281450
##########
File path: be/src/agent/user_resource_listener.cpp
##########
@@ -64,16 +61,15 @@ void UserResourceListener::update_users_resource(int64_t
new_version) {
}
// Call fe to get latest user resource
Status master_status;
- // using 500ms as default timeout value
+ // using 500ms as default timeout value
FrontendServiceConnection client(_exec_env->frontend_client_cache(),
- _master_info.network_address,
- config::thrift_rpc_timeout_ms,
- &master_status);
+ _master_info.network_address,
config::thrift_rpc_timeout_ms,
+ &master_status);
TFetchResourceResult new_fetched_resource;
- if (!master_status.ok()) {
- LOG(ERROR) << "Get frontend client failed, with address:"
- << _master_info.network_address.hostname << ":"
- << _master_info.network_address.port;
+ if (!master_status.ok()) {
+ LOG(ERROR) << "Get frontend client failed, with address:"
+ << _master_info.network_address.hostname << ":"
Review comment:
Unfortunately, I can't find a way to make clang-format accept both the
"align <<" and "ident with 8 spaces" style. I think the "align <<" style is
preferable, is that OK?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]