Fix bug in thread start

This commit is contained in:
Joshua Boniface 2018-07-17 01:09:16 -04:00
parent 1dbe0d64ba
commit 7e7618d529
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class NodeInstance():
if self.name == self.this_node:
if self.domain_state == 'flush' and self.inflush == False:
# Do flushing in a thread so it doesn't block the migrates out
flush_thread = threading.Thread(target=flush, args=(self), kwargs={})
flush_thread = threading.Thread(target=self.flush, args=(), kwargs={})
flush_thread.start()
if self.domain_state == 'unflush' and self.inflush == False:
self.unflush()