From 881550b610ea454a1200096272e7839456307bc9 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 12 Aug 2022 17:46:29 -0400 Subject: [PATCH] Actually fix VM sorting Due to the executor the previous attempt did not work. --- daemon-common/vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon-common/vm.py b/daemon-common/vm.py index 3b8a7ae9..91436445 100644 --- a/daemon-common/vm.py +++ b/daemon-common/vm.py @@ -1292,4 +1292,4 @@ def get_list(zkhandler, node, state, tag, limit, is_fuzzy=True, negate=False): except Exception: pass - return True, vm_data_list + return True, sorted(vm_data_list, key=lambda d: d["name"])