diff options
author | ncteisen <ncteisen@gmail.com> | 2018-07-18 08:54:35 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-07-18 08:54:35 -0700 |
commit | 2c990387c72c085e646adfdecf277066f22e9b30 (patch) | |
tree | f5356b46eda34168ea234ab7632406fede422574 /src/core/lib/channel/channelz.cc | |
parent | f87b9551c232fcc986ede271f496d3812c2b7b80 (diff) |
reviewer feedback
Diffstat (limited to 'src/core/lib/channel/channelz.cc')
-rw-r--r-- | src/core/lib/channel/channelz.cc | 5 |
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; |