Commit 7e89973c by Julien Muchembled

master: do not die if neoctl asks the master directly for cluster state

Of course, neoctl should only connect to the admin, but in case of user mistake
the queried node should not die. Ideally, all other commands should be checked.
1 parent d90208a3
......@@ -58,7 +58,6 @@ class MasterHandler(EventHandler):
)
def askClusterState(self, conn):
assert conn.getUUID() is not None
state = self.app.getClusterState()
conn.answer(Packets.AnswerClusterState(state))
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!