diff options
author | 2018-03-05 14:37:17 -0800 | |
---|---|---|
committer | 2018-03-05 14:37:17 -0800 | |
commit | d3f7c0f93e67f5638144799d1f6e4a2ff5ce36af (patch) | |
tree | 29bbb4856510b04aa39d7a858dfd2aae3af2b17d | |
parent | 5cb1c97c0bed3745ba9d92adaf275ac9d5600d25 (diff) | |
parent | efce74b5253d8418d0621e1f30993325e1b2a22e (diff) |
Merge pull request #14478 from cookyt/tool-print-trailing-meta
Print trailing metadata in the "grpc_cli call" command.
-rw-r--r-- | test/cpp/util/grpc_tool.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cpp/util/grpc_tool.cc b/test/cpp/util/grpc_tool.cc index 30c43b206f..e9dd7512c4 100644 --- a/test/cpp/util/grpc_tool.cc +++ b/test/cpp/util/grpc_tool.cc @@ -747,6 +747,8 @@ bool GrpcTool::CallMethod(int argc, const char** argv, } } Status status = call.Finish(&server_trailing_metadata); + PrintMetadata(server_trailing_metadata, + "Received trailing metadata from server:"); if (status.ok()) { fprintf(stderr, "Rpc succeeded with OK status\n"); return true; |