From bcabd7d0793724a3fcbf32666549b56a5b11d8b2 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 9 Aug 2022 12:05:40 -0400 Subject: [PATCH] Always sort VM list Same justification as previous commit. --- daemon-common/vm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon-common/vm.py b/daemon-common/vm.py index 3b4ee633..3b8a7ae9 100644 --- a/daemon-common/vm.py +++ b/daemon-common/vm.py @@ -1193,6 +1193,7 @@ def get_list(zkhandler, node, state, tag, limit, is_fuzzy=True, negate=False): return False, 'VM state "{}" is not valid.'.format(state) full_vm_list = zkhandler.children("base.domain") + full_vm_list.sort() # Set our limit to a sensible regex if limit: