From 4106f68ccf24cbe65c91a57c3a59fda1dec97649 Mon Sep 17 00:00:00 2001 From: Matthias Bolte Date: Wed, 18 Nov 2009 01:11:45 +0100 Subject: [PATCH] esx: Use more suitable error code in esxVI_LookupVirtualMachineByUuid() --- src/esx/esx_vi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/esx/esx_vi.c b/src/esx/esx_vi.c index 0b9f26d6a1..6a24704ddb 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; } -- 2.47.2