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

Eric Blake eblake at redhat.com
Fri Oct 18 18:44:01 UTC 2013


On 10/18/2013 12:36 PM, Geoff Hickey wrote:
> The meaning of one line of code was accidentally inverted.
> ---
>  src/esx/esx_driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK and pushed.

> 
> 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",
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131018/40cf4f87/attachment-0001.sig>


More information about the libvir-list mailing list