From 1023c55087458b9c9d61ab78c1b44625b72d264d Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 10 Dec 2023 23:44:01 -0500 Subject: [PATCH] Fix bug in VM state list --- daemon-common/cluster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon-common/cluster.py b/daemon-common/cluster.py index 168c71f4..bad07f74 100644 --- a/daemon-common/cluster.py +++ b/daemon-common/cluster.py @@ -315,8 +315,8 @@ def getClusterInformation(zkhandler): for vidx, vm in enumerate(vm_list): # Split the large list of return values by the IDX of this VM # Each VM result is 2 field long - pos_start = nidx * 2 - pos_end = nidx * 2 + 2 + pos_start = vidx * 2 + pos_end = vidx * 2 + 2 vm_name, vm_state = tuple(all_vm_states[pos_start:pos_end]) vm_data.append( {