Commit 7dba2b82 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

in _generatePerNodeNumberId, use node number that is visible in LoadBalancing tab.

and use 0 for other nodes instead of magic number 111.
parent 357cf1b3
......@@ -222,10 +222,10 @@ class FolderMixIn(ExtensionClass.Base):
node_list = list(activity_tool.getNodeList())
current_node = activity_tool.getCurrentNode()
try:
node_number = node_list.index(current_node)
node_number = node_list.index(current_node) + 1
except ValueError:
# Not a processing node
node_number = 111
node_number = 0
return "%03d-%s" %(node_number, self._generateRandomId())
# Automatic ID Generation method
......
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