From d29b4e45fe00d15be0d8de60855f4552f756946f Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Fri, 13 Sep 2024 20:23:01 +0200 Subject: [PATCH] Bugfix --- .../it/cavallium/rockserver/core/client/GrpcConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/it/cavallium/rockserver/core/client/GrpcConnection.java b/src/main/java/it/cavallium/rockserver/core/client/GrpcConnection.java index 4501fd5..a420674 100644 --- a/src/main/java/it/cavallium/rockserver/core/client/GrpcConnection.java +++ b/src/main/java/it/cavallium/rockserver/core/client/GrpcConnection.java @@ -88,7 +88,7 @@ public class GrpcConnection extends BaseConnection implements RocksDBAPI { public GrpcConnection(String name, HostAndPort address) { super(name); var channelBuilder = ManagedChannelBuilder - .forTarget(address.toString()) + .forAddress(address.host(), address.port()) .usePlaintext(); this.channel = channelBuilder.build(); this.blockingStub = RocksDBServiceGrpc.newBlockingStub(channel);