Unknown channels must report unknown (#28367)

pull/28223/head^2
Craig Tiller 3 years ago committed by GitHub
parent c1fe2bc130
commit 46b1e755d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/lib/channel/channel_stack_builder.cc

@ -71,7 +71,7 @@ void grpc_channel_stack_builder_set_target(grpc_channel_stack_builder* b,
std::string grpc_channel_stack_builder_get_target(
grpc_channel_stack_builder* b) {
return b->target == nullptr ? std::string() : std::string(b->target);
return b->target == nullptr ? std::string("unknown") : std::string(b->target);
}
static grpc_channel_stack_builder_iterator* create_iterator_at_filter_node(

Loading…
Cancel
Save