Commit 946faf6f authored by Grégory Wisniewski's avatar Grégory Wisniewski

Unknown master nodes must not be accepted.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1616 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 568e83bc
......@@ -56,8 +56,6 @@ class PrimaryBootstrapHandler(AnswerBaseHandler):
# Register new master nodes.
for address, uuid in known_master_list:
n = app.nm.getByAddress(address)
if n is None:
n = app.nm.createMaster(address=address, uuid=uuid)
if uuid is not None and n.getUUID() != uuid:
n.setUUID(uuid)
......
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