Commit 2b9e14e8 authored by Julien Muchembled's avatar Julien Muchembled

admin: fix misuse of Packet.setId

What Packet.setId does was overridden by Connection.answer
and that would have broken concurrent queries to the admin node
(this is something we currently don't do).
parent 93637a41
......@@ -101,8 +101,7 @@ class MasterEventHandler(EventHandler):
if forward is None:
super(MasterEventHandler, self).dispatch(conn, packet, kw)
else:
packet.setId(kw['msg_id'])
forward.answer(packet)
forward.send(packet, kw['msg_id'])
def answerClusterState(self, conn, state):
self.app.cluster_state = state
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment