Merge pull request #14478 from cookyt/tool-print-trailing-meta

Print trailing metadata in the "grpc_cli call" command.
pull/14597/head
Vijay Pai 7 years ago committed by GitHub
commit d3f7c0f93e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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;

Loading…
Cancel
Save