Ensure the node list is sorted
Otherwise the node entries could come back in an arbitrary order; since this is an ordered list of dictionaries that might not be expected by the API consumers, so ensure it's always sorted.
This commit is contained in:
		| @@ -236,6 +236,7 @@ def get_list( | ||||
| ): | ||||
|     node_list = [] | ||||
|     full_node_list = zkhandler.children("base.node") | ||||
|     full_node_list.sort() | ||||
|  | ||||
|     if is_fuzzy and limit: | ||||
|         # Implicitly assume fuzzy limits | ||||
|   | ||||
		Reference in New Issue
	
	Block a user