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();