From fd7e2408918a5716fd27ef8554ba0cec4f7706c8 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Sat, 2 Jun 2018 14:38:37 -0400 Subject: [PATCH] Forgot self --- NodeInstance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NodeInstance.py b/NodeInstance.py index 9741240b..df66011a 100644 --- a/NodeInstance.py +++ b/NodeInstance.py @@ -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()