diff options
author | yang-g <yangg@google.com> | 2016-11-23 13:19:21 -0800 |
---|---|---|
committer | yang-g <yangg@google.com> | 2016-11-23 13:19:21 -0800 |
commit | b9d57ed665e83aa33950cabe6b1d0c798bd15e50 (patch) | |
tree | bd1af3126f22fa7422283f040bd31130c78110f3 /test/cpp | |
parent | a7ef49bf6a4392afaf0d4db9922ae703092b6e55 (diff) |
!
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/interop/server_helper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/interop/server_helper.cc b/test/cpp/interop/server_helper.cc index 8c359628f7..d395f50fa5 100644 --- a/test/cpp/interop/server_helper.cc +++ b/test/cpp/interop/server_helper.cc @@ -48,7 +48,7 @@ namespace grpc { namespace testing { std::shared_ptr<ServerCredentials> CreateInteropServerCredentials() { - if (FLAGS_custom_credentials_type.empty()) { + if (!FLAGS_custom_credentials_type.empty()) { return GetCredentialsProvider()->GetServerCredentials( FLAGS_custom_credentials_type); } else if (FLAGS_use_tls) { |