mirror of https://gitee.com/openkylin/libvirt.git
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…
Reference in New Issue