[libvirt] [PATCH] Fix a problem introduced by commit 99889012

Geoff Hickey ghickey at datagravity.com
Fri Oct 18 18:36:39 UTC 2013


The meaning of one line of code was accidentally inverted.
---
 src/esx/esx_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c
index 5d8baa5..886d984 100644
--- a/src/esx/esx_driver.c
+++ b/src/esx/esx_driver.c
@@ -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",
-- 
1.8.1.2




More information about the libvir-list mailing list