From 84637caccf2ee18a8dfa9879515601f16558043c Mon Sep 17 00:00:00 2001 From: lingting Date: Tue, 19 Mar 2024 12:20:42 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=20PolarisGrpcServerB?= =?UTF-8?q?uilder.useTransportSecurity=20=E6=96=B9=E6=B3=95=E6=9C=AA?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E8=B0=83=E7=94=A8=E5=AE=9E=E7=8E=B0=E6=96=B9?= =?UTF-8?q?=E6=B3=95=20(#51)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tencent/polaris/grpc/server/PolarisGrpcServerBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grpc-java-polaris/src/main/java/com/tencent/polaris/grpc/server/PolarisGrpcServerBuilder.java b/grpc-java-polaris/src/main/java/com/tencent/polaris/grpc/server/PolarisGrpcServerBuilder.java index b90295e..a54e097 100644 --- a/grpc-java-polaris/src/main/java/com/tencent/polaris/grpc/server/PolarisGrpcServerBuilder.java +++ b/grpc-java-polaris/src/main/java/com/tencent/polaris/grpc/server/PolarisGrpcServerBuilder.java @@ -271,7 +271,7 @@ public PolarisGrpcServerBuilder addStreamTracerFactory(ServerStreamTracer.Factor @Override public PolarisGrpcServerBuilder useTransportSecurity(InputStream certChain, InputStream privateKey) { - super.useTransportSecurity(certChain, privateKey); + builder.useTransportSecurity(certChain, privateKey); return this; }