[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 03/13] esx: Use more suitable error code in esxVI_LookupVirtualMachineByUuid()



On Sun, Dec 13, 2009 at 12:20:40AM +0100, Matthias Bolte wrote:
> ---
>  src/esx/esx_vi.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/esx/esx_vi.c b/src/esx/esx_vi.c
> index e934bd4..fd86cde 100644
> --- a/src/esx/esx_vi.c
> +++ b/src/esx/esx_vi.c
> @@ -1828,7 +1828,7 @@ esxVI_LookupVirtualMachineByUuid(virConnectPtr conn, esxVI_Context *ctx,
>          } else {
>              virUUIDFormat(uuid, uuid_string);
>  
> -            ESX_VI_ERROR(conn, VIR_ERR_INTERNAL_ERROR,
> +            ESX_VI_ERROR(conn, VIR_ERR_NO_DOMAIN,
>                           "Could not find domain with UUID '%s'", uuid_string);
>              goto failure;
>          }

  sure, ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]