aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/channel/channelz.cc
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-07-18 08:54:35 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-07-18 08:54:35 -0700
commit2c990387c72c085e646adfdecf277066f22e9b30 (patch)
treef5356b46eda34168ea234ab7632406fede422574 /src/core/lib/channel/channelz.cc
parentf87b9551c232fcc986ede271f496d3812c2b7b80 (diff)
reviewer feedback
Diffstat (limited to 'src/core/lib/channel/channelz.cc')
-rw-r--r--src/core/lib/channel/channelz.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/lib/channel/channelz.cc b/src/core/lib/channel/channelz.cc
index df85b89ad0..9d6002ed8a 100644
--- a/src/core/lib/channel/channelz.cc
+++ b/src/core/lib/channel/channelz.cc
@@ -98,11 +98,8 @@ grpc_json* ChannelNode::RenderJson() {
if (trace != nullptr) {
// we manually link up and fill the child since it was created for us in
// ChannelTrace::RenderJson
+ trace->key = "trace"; // this object is named trace in channelz.proto
json_iterator = grpc_json_link_child(json, trace, json_iterator);
- trace->parent = json;
- trace->value = nullptr;
- trace->key = "trace";
- trace->owns_value = false;
}
// reset the parent to be the data object.
json = data;