提交 4106f68c 编写于 作者: M Matthias Bolte

esx: Use more suitable error code in esxVI_LookupVirtualMachineByUuid()

上级 06ef64d1
...@@ -1828,7 +1828,7 @@ esxVI_LookupVirtualMachineByUuid(virConnectPtr conn, esxVI_Context *ctx, ...@@ -1828,7 +1828,7 @@ esxVI_LookupVirtualMachineByUuid(virConnectPtr conn, esxVI_Context *ctx,
} else { } else {
virUUIDFormat(uuid, uuid_string); 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); "Could not find domain with UUID '%s'", uuid_string);
goto failure; goto failure;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册