diff --git a/src/communication.py b/src/communication.py index e07b3e3..d7f806d 100644 --- a/src/communication.py +++ b/src/communication.py @@ -185,7 +185,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()