mirror of https://gitee.com/openkylin/libvirt.git
libxl: remove needless 'else' in libxlDomainMigrationPrepare
Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
c66e344e38
commit
4f28d7f98c
|
@ -733,9 +733,8 @@ libxlDomainMigrationPrepare(virConnectPtr dconn,
|
|||
_("missing host in migration URI: %s"),
|
||||
uri_in);
|
||||
goto error;
|
||||
} else {
|
||||
hostname = uri->server;
|
||||
}
|
||||
hostname = uri->server;
|
||||
|
||||
if (uri->port == 0) {
|
||||
if (virPortAllocatorAcquire(driver->migrationPorts, &port) < 0)
|
||||
|
|
Loading…
Reference in New Issue