Always sort VM list
Same justification as previous commit.
This commit is contained in:
parent
05a316cdd6
commit
bcabd7d079
|
@ -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)
|
return False, 'VM state "{}" is not valid.'.format(state)
|
||||||
|
|
||||||
full_vm_list = zkhandler.children("base.domain")
|
full_vm_list = zkhandler.children("base.domain")
|
||||||
|
full_vm_list.sort()
|
||||||
|
|
||||||
# Set our limit to a sensible regex
|
# Set our limit to a sensible regex
|
||||||
if limit:
|
if limit:
|
||||||
|
|
Loading…
Reference in New Issue