Remove obsolete code

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
Tran Ngoc Nhan
2025-04-09 01:07:00 +07:00
committed by Dave Syer
parent a99ac62fe9
commit eeb625b452

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2024-2024 the original author or authors.
* Copyright 2024-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -64,7 +64,6 @@ class GrpcServerFactoryConfigurations {
keyManager = bundle.getManagers().getKeyManagerFactory();
trustManager = properties.getSsl().isSecure() ? bundle.getManagers().getTrustManagerFactory()
: io.grpc.netty.shaded.io.netty.handler.ssl.util.InsecureTrustManagerFactory.INSTANCE;
trustManager = bundle.getManagers().getTrustManagerFactory();
}
ShadedNettyGrpcServerFactory factory = new ShadedNettyGrpcServerFactory(properties.getAddress(),
builderCustomizers, keyManager, trustManager, properties.getSsl().getClientAuth());