[libvirt] [PATCH 03/13] esx: Use more suitable error code in esxVI_LookupVirtualMachineByUuid()
Daniel Veillard
veillard at redhat.com
Thu Dec 17 09:45:16 UTC 2009
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 at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list