Skip to content

Commit

Permalink
[chttp2] Fix channelz address (grpc#38022)
Browse files Browse the repository at this point in the history
Closes grpc#38022

COPYBARA_INTEGRATE_REVIEW=grpc#38022 from yashykt:FixChannelzAddr c9717ef
PiperOrigin-RevId: 691186966
  • Loading branch information
yashykt authored and copybara-github committed Oct 29, 2024
1 parent a16441b commit 265c7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ext/transport/chttp2/server/chttp2_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ grpc_error_handle Chttp2ServerListener::Create(
if (args.GetBool(GRPC_ARG_ENABLE_CHANNELZ)
.value_or(GRPC_ENABLE_CHANNELZ_DEFAULT)) {
auto string_address =
grpc_event_engine::experimental::ResolvedAddressToString(addr);
grpc_event_engine::experimental::ResolvedAddressToURI(addr);
if (!string_address.ok()) {
return GRPC_ERROR_CREATE(string_address.status().ToString());
}
Expand Down

0 comments on commit 265c7be

Please sign in to comment.