Skip to content

Commit 0acf7ad

Browse files
Update ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcServerProtocolClient.java
Co-authored-by: Copilot <[email protected]>
1 parent 03ec1e1 commit 0acf7ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcServerProtocolClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private ManagedChannel buildChannel(RaftPeer target, int flowControlWindow, SslC
8080
// ignore any http proxy for grpc
8181
channelBuilder.proxyDetector(uri -> null);
8282

83-
if (sslContext!= null) {
83+
if (sslContext != null) {
8484
channelBuilder.useTransportSecurity().sslContext(sslContext);
8585
} else {
8686
channelBuilder.negotiationType(NegotiationType.PLAINTEXT);

0 commit comments

Comments
 (0)