Skip to content

Commit

Permalink
[chttp2] Fix channelz address (grpc#38793)
Browse files Browse the repository at this point in the history
I forgot to copy grpc#38022 to the new server listener experiment

Closes grpc#38793

COPYBARA_INTEGRATE_REVIEW=grpc#38793 from yashykt:FixChannelzAddress 416acec
PiperOrigin-RevId: 729288306
  • Loading branch information
yashykt authored and copybara-github committed Feb 21, 2025
1 parent 15bfe37 commit ac9ceb2
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 @@ -1282,7 +1282,7 @@ grpc_error_handle NewChttp2ServerListener::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 ac9ceb2

Please sign in to comment.