[#5] Typo
This commit is contained in:
parent
405a3a8f38
commit
843ddfadd8
|
@ -131,7 +131,7 @@ class NodeInstance():
|
||||||
for dom_uuid in self.domain_list:
|
for dom_uuid in self.domain_list:
|
||||||
most_memfree = 0
|
most_memfree = 0
|
||||||
target_hypervisor = None
|
target_hypervisor = None
|
||||||
hypervisor_list = zkhander.listchildren(self.zk_conn, '/nodes')
|
hypervisor_list = zkhandler.listchildren(self.zk_conn, '/nodes')
|
||||||
current_hypervisor = zkhandler.readdata(self.zk_conn, '/domains/{}/hypervisor'.format(dom_uuid))
|
current_hypervisor = zkhandler.readdata(self.zk_conn, '/domains/{}/hypervisor'.format(dom_uuid))
|
||||||
if current_hypervisor != self.this_node:
|
if current_hypervisor != self.this_node:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue