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

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

 



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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]