From e161a543cbcd5bd8923a674ef34f56b0f280f634 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 4 Jun 2018 03:10:54 -0400 Subject: [PATCH] typo --- NodeInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NodeInstance.py b/NodeInstance.py index 1f4c34a2..e29c4ca0 100644 --- a/NodeInstance.py +++ b/NodeInstance.py @@ -93,7 +93,7 @@ class NodeInstance(threading.Thread): def unflush(self): print('>>> Restoring node %s to active service' % self.name) for domain in self.s_domain: - former_hypervisor = self.zk.get("/domains/" + domain + '/formerhypervisor').decode('ascii') + former_hypervisor = self.zk.get("/domains/" + domain + '/formerhypervisor')[0].decode('ascii') if former_hypervisor == self.name: print(">>> Setting unmigration for %s" % domain) transaction = self.zk.transaction()