From 1690c082dc763703ab739709d59d1c467c5fa5e0 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Tue, 3 Nov 2020 22:25:35 +0100 Subject: [PATCH] Bugfix --- .../tdlibsession/remoteclient/TDLibRemoteClient.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/it/tdlight/tdlibsession/remoteclient/TDLibRemoteClient.java b/src/main/java/it/tdlight/tdlibsession/remoteclient/TDLibRemoteClient.java index 3a39ccb..e9026c7 100644 --- a/src/main/java/it/tdlight/tdlibsession/remoteclient/TDLibRemoteClient.java +++ b/src/main/java/it/tdlight/tdlibsession/remoteclient/TDLibRemoteClient.java @@ -235,10 +235,10 @@ public class TDLibRemoteClient implements AutoCloseable { if (lockAcquisitionResult.succeeded()) { deploymentLock.set(lockAcquisitionResult.result()); var sharedData = clusterManager.getSharedData(); - sharedData.getClusterWideMap("deployableBotAddresses", (AsyncResult> mapResult) -> { + sharedData.getClusterWideMap("runningBotAddresses", (AsyncResult> mapResult) -> { if (mapResult.succeeded()) { - var deployableBotAddresses = mapResult.result(); - deployableBotAddresses.removeIfPresent(botAddress, netInterface, putResult -> { + var runningBotAddresses = mapResult.result(); + runningBotAddresses.removeIfPresent(botAddress, netInterface, putResult -> { if (putResult.succeeded()) { if (putResult.result() != null) { handler.complete();