Forgot self

This commit is contained in:
Joshua Boniface 2018-06-02 14:38:37 -04:00
parent 3cb05f1c48
commit fd7e240891
1 changed files with 2 additions and 2 deletions

View File

@ -97,9 +97,9 @@ class NodeInstance(threading.Thread):
dom = conn.getDomainByUUID(domain)
state = dom.state()
if state != libvirt.VIR_DOMAIN_RUNNING:
domain_list.remove(domain)
self.domain_list.remove(domain)
except:
domain_list.remove(domain)
self.domain_list.remove(domain)
# Set our information in zookeeper
self.memfree = conn.getFreeMemory()