Commit 414cdf5a authored by Aurel's avatar Aurel

fix wrong method name


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@633 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent b3e5254a
......@@ -600,7 +600,7 @@ class ServiceEventHandler(MasterEventHandler):
sn_conn.notify(protocol.startOperation())
# modify the partition table if required
if modify_partition_table and node.getType() == STORAGE_NODE_TYPE:
if modify_partition_table and node.getNodeType() == STORAGE_NODE_TYPE:
if state in (DOWN_STATE, TEMPORARILY_DOWN_STATE, HIDDEN_STATE):
# remove from pt
cell_list = app.pt.dropNode(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