Commit 99a52d3c authored by Grégory Wisniewski's avatar Grégory Wisniewski

Client don't have to register a storage if not found by server address. First

this must be already done, then if node object already exist, so create another
is wrong.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1108 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 21fd729f
......@@ -136,10 +136,6 @@ class ConnectionPool(object):
if conn is None:
return None
# add node to node manager
if self.app.nm.getNodeByServer(node.getServer()) is None:
n = StorageNode(node.getServer())
self.app.nm.add(n)
self.connection_dict[node.getUUID()] = conn
conn.lock()
return 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