mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-06 08:58:35 +03:00
Fix a problem introduced by commit 99889012
The meaning of one line of code was accidentally inverted. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
d9be5a7157
commit
2de2458efa
@ -1003,7 +1003,7 @@ esxConnectOpen(virConnectPtr conn, virConnectAuthPtr auth,
|
||||
}
|
||||
|
||||
/* Connect to vCenter */
|
||||
if (!priv->parsedUri->vCenter) {
|
||||
if (priv->parsedUri->vCenter) {
|
||||
if (STREQ(priv->parsedUri->vCenter, "*")) {
|
||||
if (!potentialVCenterIpAddress) {
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
|
||||
|
Loading…
x
Reference in New Issue
Block a user