Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 authored Feb 27, 2024
1 parent 708da32 commit fa9bbf5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/zookeeper/zookeeper_session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,8 @@ int zookeeper_session::attach(void *callback_owner, const state_callback &cb)

auto param_host = "";
if (!utils::is_empty(FLAGS_sasl_service_fqdn)) {
rpc_address addr;
CHECK(dsn::rpc_address::from_host_port(FLAGS_sasl_service_fqdn),
"sasl_service_fqdn {} is invalid",
"sasl_service_fqdn '{}' is invalid",
FLAGS_sasl_service_fqdn);
param_host = FLAGS_sasl_service_fqdn;
}
Expand Down

0 comments on commit fa9bbf5

Please sign in to comment.