Commit 7b76e88b authored by Julien Muchembled's avatar Julien Muchembled

admin: fix [2680] testing the 'bootstrapped' flag in the wrong method

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2684 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 183aa0b5
...@@ -146,15 +146,15 @@ class MasterEventHandler(EventHandler): ...@@ -146,15 +146,15 @@ class MasterEventHandler(EventHandler):
neo.lib.logging.debug("answerNodeInformation") neo.lib.logging.debug("answerNodeInformation")
def notifyPartitionChanges(self, conn, ptid, cell_list): def notifyPartitionChanges(self, conn, ptid, cell_list):
if self.app.bootstrapped: self.app.pt.update(ptid, cell_list, self.app.nm)
self.app.pt.update(ptid, cell_list, self.app.nm)
def answerPartitionTable(self, conn, ptid, row_list): def answerPartitionTable(self, conn, ptid, row_list):
self.app.pt.load(ptid, row_list, self.app.nm) self.app.pt.load(ptid, row_list, self.app.nm)
self.app.bootstrapped = True self.app.bootstrapped = True
def sendPartitionTable(self, conn, ptid, row_list): def sendPartitionTable(self, conn, ptid, row_list):
self.app.pt.load(ptid, row_list, self.app.nm) if self.app.bootstrapped:
self.app.pt.load(ptid, row_list, self.app.nm)
def notifyClusterInformation(self, conn, cluster_state): def notifyClusterInformation(self, conn, cluster_state):
self.app.cluster_state = cluster_state self.app.cluster_state = cluster_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