Add missing description reference

This commit is contained in:
Joshua Boniface 2018-09-08 17:24:41 -04:00
parent 9af3b032fb
commit 2bf20d717b
1 changed files with 1 additions and 1 deletions

2
pvc.py
View File

@ -705,7 +705,7 @@ def node_list(limit):
for domain in node_running_domains[node_name]: for domain in node_running_domains[node_name]:
try: try:
parsed_xml = getDomainXML(zk_conn, domain) parsed_xml = getDomainXML(zk_conn, domain)
duuid, dname, dmemory, dvcpu, dvcputopo = getDomainMainDetails(parsed_xml) duuid, dname, ddescription, dmemory, dvcpu, dvcputopo = getDomainMainDetails(parsed_xml)
node_mem_allocated[node_name] += int(dmemory) node_mem_allocated[node_name] += int(dmemory)
except AttributeError: except AttributeError:
click.echo('Error: Domain {} does not exist.'.format(domain)) click.echo('Error: Domain {} does not exist.'.format(domain))