Add missing common call
This commit is contained in:
parent
bfd42b5a7b
commit
2de65e514f
|
@ -414,7 +414,7 @@ def migrate_vm(zk_conn, domain, target_node, selector, force_migrate):
|
||||||
return False, ''
|
return False, ''
|
||||||
|
|
||||||
if target_node == None:
|
if target_node == None:
|
||||||
target_node = findTargetNode(zk_conn, selector, dom_uuid)
|
target_node = common.findTargetNode(zk_conn, selector, dom_uuid)
|
||||||
else:
|
else:
|
||||||
if target_node == current_node:
|
if target_node == current_node:
|
||||||
common.stopZKConnection(zk_conn)
|
common.stopZKConnection(zk_conn)
|
||||||
|
|
Loading…
Reference in New Issue