Commit 7f11c557 authored by Vincent Pelletier's avatar Vincent Pelletier

(at least) dm.getPartitions doesn't exist any longer, so don't warn about it,...

(at least) dm.getPartitions doesn't exist any longer, so don't warn about it, just switch to the working one.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@857 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 10e69ebd
......@@ -62,9 +62,8 @@ class IdentificationHandler(BaseStorageHandler):
conn.setHandler(handler)
conn.setUUID(uuid)
node.setUUID(uuid)
# FIXME: here we should use pt.getPartitions() and pt.getReplicas()
args = (STORAGE_NODE_TYPE, app.uuid, app.server[0], app.server[1],
app.dm.getPartitions(), app.dm.getReplicas(), uuid)
app.pt.getPartitions(), app.pt.getReplicas(), uuid)
# accept the identification and trigger an event
conn.answer(protocol.acceptNodeIdentification(*args), packet)
handler.connectionCompleted(conn)
......
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