From 7e7618d52917cfdb3cea96c9d76cb904e8973966 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Tue, 17 Jul 2018 01:09:16 -0400 Subject: [PATCH] Fix bug in thread start --- pvcd/NodeInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvcd/NodeInstance.py b/pvcd/NodeInstance.py index b88a2acc..a2d691d5 100644 --- a/pvcd/NodeInstance.py +++ b/pvcd/NodeInstance.py @@ -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()