Fix pre-refactor path bug

This commit is contained in:
Joshua Boniface 2021-06-10 01:18:33 -04:00
parent b694945010
commit 247ae4fe2d
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def getNodeInformation(zkhandler, node_name):
node_kernel = node_static_data[1] node_kernel = node_static_data[1]
node_os = node_static_data[2] node_os = node_static_data[2]
node_arch = node_static_data[3] node_arch = node_static_data[3]
node_vcpu_allocated = int(zkhandler.read('nodes/{}/vcpualloc'.format(node_name))) node_vcpu_allocated = int(zkhandler.read('/nodes/{}/vcpualloc'.format(node_name)))
node_mem_total = int(zkhandler.read('/nodes/{}/memtotal'.format(node_name))) node_mem_total = int(zkhandler.read('/nodes/{}/memtotal'.format(node_name)))
node_mem_allocated = int(zkhandler.read('/nodes/{}/memalloc'.format(node_name))) node_mem_allocated = int(zkhandler.read('/nodes/{}/memalloc'.format(node_name)))
node_mem_provisioned = int(zkhandler.read('/nodes/{}/memprov'.format(node_name))) node_mem_provisioned = int(zkhandler.read('/nodes/{}/memprov'.format(node_name)))