Use correct variable name

Fixes #18
This commit is contained in:
Joshua Boniface 2018-08-31 10:16:19 -04:00
parent 91dea8e7ac
commit 057a9716ae
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ def migrateFromFencedHost(zk_conn, node_name):
zkhandler.writedata(zk_conn, {
'/domains/{}/state'.format(dom_uuid): 'start',
'/domains/{}/hypervisor'.format(dom_uuid): target_hypervisor,
'/domains/{}/lasthypervisor'.format(dom_uuid): current_hypervisor
'/domains/{}/lasthypervisor'.format(dom_uuid): node_name
})
# Set node in flushed state for easy remigrating when it comes back