From 65ddcee0db55ee3fccbcf561e10089872a4e20e8 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 29 Jan 2020 17:20:08 -0500 Subject: [PATCH] Fix bad ZK node name --- client-common/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-common/common.py b/client-common/common.py index 71b34f79..2c0bbec8 100644 --- a/client-common/common.py +++ b/client-common/common.py @@ -387,7 +387,7 @@ def findTargetNodeLoad(zk_conn, node_limit, dom_uuid): node_list = getNodes(zk_conn, node_limit, dom_uuid) for node in node_list: - load = int(zkhandler.readdata(zk_conn, '/nodes/{}/load'.format(node))) + load = int(zkhandler.readdata(zk_conn, '/nodes/{}/cpuload'.format(node))) if load < least_load: least_load = load