diff options
author | Feso <gabor.fecher@gmail.com> | 2018-10-04 21:31:14 +0100 |
---|---|---|
committer | Feso <gabor.fecher@gmail.com> | 2018-10-04 21:31:14 +0100 |
commit | d74162f83acae2121cb2e47d562c0b963e20aac5 (patch) | |
tree | e88f96f2a2e1acd1d1572b56083753168ff6b114 /test/cpp/util | |
parent | 44cecbb2f73d1aaf65fd67d2e413c891210f54f1 (diff) | |
parent | 23b5b1a5a9c7084c5b64d4998ee15af0f77bd589 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'test/cpp/util')
-rw-r--r-- | test/cpp/util/cli_credentials.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/util/cli_credentials.cc b/test/cpp/util/cli_credentials.cc index 1125b2d945..91acc904aa 100644 --- a/test/cpp/util/cli_credentials.cc +++ b/test/cpp/util/cli_credentials.cc @@ -151,7 +151,7 @@ std::shared_ptr<grpc::CallCredentials> CliCredentials::GetCallCredentials() if (IsAccessToken(FLAGS_call_creds)) { return grpc::AccessTokenCredentials(AccessToken(FLAGS_call_creds)); } - if (FLAGS_call_creds.compare("none") != 0) { + if (FLAGS_call_creds.compare("none") == 0) { // Nothing to do; creds, if any, are baked into the channel. return std::shared_ptr<grpc::CallCredentials>(); } |