Skip to content

Commit

Permalink
[chttp2] Fix channelz address
Browse files Browse the repository at this point in the history
  • Loading branch information
yashykt committed Oct 29, 2024
1 parent 53c7d45 commit c9717ef
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 c9717ef

Please sign in to comment.