diff options
author | 2017-12-14 14:57:38 -0800 | |
---|---|---|
committer | 2017-12-14 14:57:38 -0800 | |
commit | 487ee31b9e2504ad0208ce3b0f6a0c0f405a3605 (patch) | |
tree | 318597ef2a6fd9478259144eb5e4268348e0a98a /test/cpp/util | |
parent | 243505060acdbbd2a92a090736d6230d09993fbb (diff) |
Address review comments
Diffstat (limited to 'test/cpp/util')
-rw-r--r-- | test/cpp/util/cli_credentials.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/cpp/util/cli_credentials.cc b/test/cpp/util/cli_credentials.cc index 7939186c30..aa4eafb756 100644 --- a/test/cpp/util/cli_credentials.cc +++ b/test/cpp/util/cli_credentials.cc @@ -22,8 +22,9 @@ DEFINE_bool(enable_ssl, false, "Whether to use ssl/tls."); DEFINE_bool(use_auth, false, "Whether to create default google credentials."); -DEFINE_string(access_token, "", - "The access token in metadata \"authorization\"."); +DEFINE_string( + access_token, "", + "The access token that will be sent to the server to authenticate RPCs."); namespace grpc { namespace testing { @@ -32,9 +33,8 @@ std::shared_ptr<grpc::ChannelCredentials> CliCredentials::GetCredentials() const { if (!FLAGS_access_token.empty()) { if (FLAGS_use_auth) { - fprintf( - stderr, - "warning: use_auth is set to false when access_token is provided."); + fprintf(stderr, + "warning: use_auth is ignored when access_token is provided."); } return grpc::CompositeChannelCredentials( |