Bugfix
This commit is contained in:
parent
6201ce601e
commit
1690c082dc
@ -235,10 +235,10 @@ public class TDLibRemoteClient implements AutoCloseable {
|
||||
if (lockAcquisitionResult.succeeded()) {
|
||||
deploymentLock.set(lockAcquisitionResult.result());
|
||||
var sharedData = clusterManager.getSharedData();
|
||||
sharedData.getClusterWideMap("deployableBotAddresses", (AsyncResult<AsyncMap<String, String>> mapResult) -> {
|
||||
sharedData.getClusterWideMap("runningBotAddresses", (AsyncResult<AsyncMap<String, String>> 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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user