Fix bad key name

This commit is contained in:
Joshua Boniface 2021-06-13 14:29:54 -04:00
parent 7110a42e5f
commit 88a1d89501
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ def findTargetNodeMem(zkhandler, node_limit, dom_uuid):
node_list = getNodes(zkhandler, node_limit, dom_uuid) node_list = getNodes(zkhandler, node_limit, dom_uuid)
for node in node_list: for node in node_list:
memprov = int(zkhandler.read(('node.memory.prov', node))) memprov = int(zkhandler.read(('node.memory.provisioned', node)))
memused = int(zkhandler.read(('node.memory.used', node))) memused = int(zkhandler.read(('node.memory.used', node)))
memfree = int(zkhandler.read(('node.memory.free', node))) memfree = int(zkhandler.read(('node.memory.free', node)))
memtotal = memused + memfree memtotal = memused + memfree