diff options
author | ncteisen <ncteisen@gmail.com> | 2018-06-07 18:58:03 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-06-07 18:58:03 -0700 |
commit | b8a52e0cf3e271f80b32f16783c76c065f5c2167 (patch) | |
tree | b4d56878f92e64c9130a3f4713d1ab30f8cc3901 /src/core/lib/channel/channelz.cc | |
parent | 9b488f788b2575d737558425ad98279abac9f844 (diff) |
Add new end2end test for channelz
Diffstat (limited to 'src/core/lib/channel/channelz.cc')
-rw-r--r-- | src/core/lib/channel/channelz.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/lib/channel/channelz.cc b/src/core/lib/channel/channelz.cc index 1d2be00f1c..42b169dffd 100644 --- a/src/core/lib/channel/channelz.cc +++ b/src/core/lib/channel/channelz.cc @@ -164,12 +164,12 @@ char* Channel::RenderJSON() { json_iterator = nullptr; // We use -1 as sentinel values since proto default value for integers is // zero, and the confuses the parser into thinking the value weren't present - json_iterator = add_num_str(json, json_iterator, "callsStarted", - calls_started_); - json_iterator = add_num_str(json, json_iterator, "callsSucceeded", - calls_succeeded_); - json_iterator = add_num_str(json, json_iterator, "callsFailed", - calls_failed_); + json_iterator = + add_num_str(json, json_iterator, "callsStarted", calls_started_); + json_iterator = + add_num_str(json, json_iterator, "callsSucceeded", calls_succeeded_); + json_iterator = + add_num_str(json, json_iterator, "callsFailed", calls_failed_); gpr_timespec ts = grpc_millis_to_timespec(last_call_started_millis_, GPR_CLOCK_REALTIME); json_iterator = |