Add missing common call

This commit is contained in:
Joshua Boniface 2018-10-21 22:10:05 -04:00
parent bfd42b5a7b
commit 2de65e514f
1 changed files with 1 additions and 1 deletions

View File

@ -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)