diff options
author | 2018-05-09 10:38:44 -0700 | |
---|---|---|
committer | 2018-06-05 16:59:25 -0700 | |
commit | b69f1f6aacad86bdc72e25085d74e64f17f32195 (patch) | |
tree | b67e718b207c66510f21f29e8ba3a11f380937e1 /test/cpp/util | |
parent | 6a2aaf096fc8baf1f73d4d531518cdefd3374c76 (diff) |
Update channelz proto
Diffstat (limited to 'test/cpp/util')
-rw-r--r-- | test/cpp/util/channel_trace_proto_helper.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/util/channel_trace_proto_helper.cc b/test/cpp/util/channel_trace_proto_helper.cc index fbc9f1501c..c395f607f4 100644 --- a/test/cpp/util/channel_trace_proto_helper.cc +++ b/test/cpp/util/channel_trace_proto_helper.cc @@ -32,13 +32,13 @@ namespace testing { void ValidateChannelTraceProtoJsonTranslation(char* tracer_json_c_str) { std::string tracer_json_str(tracer_json_c_str); - grpc::channelz::ChannelTrace channel_trace; + grpc::channelz::v1::ChannelTrace channel_trace; google::protobuf::util::JsonParseOptions parse_options; // If the following line is failing, then uncomment the last line of the // comment, and uncomment the lines that print the two strings. You can // then compare the output, and determine what fields are missing. // - // options.ignore_unknown_fields = true; + // parse_options.ignore_unknown_fields = true; ASSERT_EQ(google::protobuf::util::JsonStringToMessage( tracer_json_str, &channel_trace, parse_options), google::protobuf::util::Status::OK); |