yang-g 9 年之前
父节点
当前提交
b9d57ed665
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/cpp/interop/server_helper.cc

+ 1 - 1
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) {