Remove spurious module references

This commit is contained in:
Joshua Boniface 2018-06-12 21:26:53 -04:00
parent f6921816fa
commit ae1fd28e5d
1 changed files with 2 additions and 2 deletions

View File

@ -161,8 +161,8 @@ def getInformationFromNode(zk, node_name, long_output):
node_running_domains = zk.get('/nodes/{}/runningdomains'.format(node_name))[0].decode('ascii').split()
node_mem_allocated = 0
for domain in node_running_domains:
parsed_xml = pvcf.getDomainXML(zk, domain)
duuid, dname, dmemory, dvcpu, dvcputopo = pvcf.getDomainMainDetails(parsed_xml)
parsed_xml = getDomainXML(zk, domain)
duuid, dname, dmemory, dvcpu, dvcputopo = getDomainMainDetails(parsed_xml)
node_mem_allocated += int(dmemory)
if node_daemon_state == 'run':