mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 18:05:20 +00:00
esx: Use more suitable error code in esxVI_LookupVirtualMachineByUuid()
This commit is contained in:
parent
06ef64d169
commit
4106f68ccf
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user