Fix bad ZK node name

This commit is contained in:
Joshua Boniface 2020-01-29 17:20:08 -05:00
parent 43ddf5b709
commit 65ddcee0db
1 changed files with 1 additions and 1 deletions

View File

@ -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