diff --git a/src/communication.py b/src/communication.py index ebeb7e5..ed337fc 100644 --- a/src/communication.py +++ b/src/communication.py @@ -191,7 +191,6 @@ class ClusterCommunicationModule(): check, args = conn.recv(1024).decode().split(' ') except: print(f'{args} has stopped.') - self.node_manager.docker_client.swarm.leave(force=True) if self.node_manager.status == 'worker': self.node_manager.docker_client.swarm.leave()