typo
This commit is contained in:
parent
0709ccc003
commit
e161a543cb
|
@ -93,7 +93,7 @@ class NodeInstance(threading.Thread):
|
||||||
def unflush(self):
|
def unflush(self):
|
||||||
print('>>> Restoring node %s to active service' % self.name)
|
print('>>> Restoring node %s to active service' % self.name)
|
||||||
for domain in self.s_domain:
|
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:
|
if former_hypervisor == self.name:
|
||||||
print(">>> Setting unmigration for %s" % domain)
|
print(">>> Setting unmigration for %s" % domain)
|
||||||
transaction = self.zk.transaction()
|
transaction = self.zk.transaction()
|
||||||
|
|
Loading…
Reference in New Issue