Commit a1c254ac authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix method handler that drop the admin node from the manager, so it can come

back without be rejected due to invalid server address.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1104 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 53247b42
...@@ -26,7 +26,8 @@ from neo.util import dump ...@@ -26,7 +26,8 @@ from neo.util import dump
class AdministrationHandler(MasterHandler): class AdministrationHandler(MasterHandler):
"""This class deals with messages from the admin node only""" """This class deals with messages from the admin node only"""
def handleNodeLost(self, conn, node): def handleConnectionLost(self, conn, new_state):
node = self.app.nm.getNodeByUUID(conn.getUUID())
self.app.nm.remove(node) self.app.nm.remove(node)
def handleAskPrimaryMaster(self, conn, packet): def handleAskPrimaryMaster(self, conn, packet):
......
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