Commit 939df4b0 authored by Vincent Pelletier's avatar Vincent Pelletier

Storage node is never ready upon connection, not just when running.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2374 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 656a6374
......@@ -33,9 +33,9 @@ class StorageServiceHandler(BaseServiceHandler):
app = self.app
uuid = conn.getUUID()
node = app.nm.getByUUID(uuid)
app.setStorageNotReady(uuid)
# XXX: what other values could happen ?
if node.isRunning():
app.setStorageNotReady(uuid)
conn.notify(Packets.StartOperation())
def nodeLost(self, conn, node):
......
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