Compare commits
No commits in common. "2b1c8890a96c83a302c883f5617f3a885902a0a4" and "12caa7358ff95047256250f26e7bfb62670eab6b" have entirely different histories.
2b1c8890a9
...
12caa7358f
@ -97,14 +97,8 @@ class ClusterCommunicationModule():
|
|||||||
self.client_sock.send(f'[STOP_CHECK] {json.dumps(data)}'.encode())
|
self.client_sock.send(f'[STOP_CHECK] {json.dumps(data)}'.encode())
|
||||||
self.node_manager.docker_client.swarm.leave()
|
self.node_manager.docker_client.swarm.leave()
|
||||||
self.node_manager.status = 'none'
|
self.node_manager.status = 'none'
|
||||||
self.node_manager.actions = [
|
|
||||||
{'explanation': 'Add another node into our cluster', 'function': 'add_node'},
|
|
||||||
{'explanation': 'Exit', 'function': 'exit'},
|
|
||||||
]
|
|
||||||
|
|
||||||
print("You have leaved the cluster.")
|
print("You have leaved the cluster.")
|
||||||
print("Please Enter to continued")
|
|
||||||
|
|
||||||
return False
|
return False
|
||||||
elif command == '[START_LISTEN_TASK]':
|
elif command == '[START_LISTEN_TASK]':
|
||||||
self.client_sock.send('[START_LISTEN_TASK_CHECK] {}'.encode())
|
self.client_sock.send('[START_LISTEN_TASK_CHECK] {}'.encode())
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user