esx: Report error in esxVI_LookupVirtualMachineByName
When reviewing 00d9edfe I've changed proposed patch and made it to not report error if no domain is found. This is wrong and the original patch was okay. Thing is, both callers pass occurrence = OptionalItem so no error message overwriting is done as I thought initially. Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
Showing
想要评论请 注册 或 登录