Commit dba2bd5b authored by akhuziy's avatar akhuziy
Browse files

sorted nodes

parent 6c8df13a
......@@ -50,7 +50,8 @@ def get_aggregator(job_id, type="text"):
aggr.job.alloc_cu.append(AllocCUData(node_id, cu_count))
aggr.nodes = []
for node_id, noded in data["node"].items():
for node_id in sorted(data["node"]):
noded = data["node"][node_id]
new_node = NodeData()
new_node.name = node_id
......
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