mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
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…
x
Reference in New Issue
Block a user