Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Ignore invalid vm.cpu.mode in V3
......................................................................
restapi: Ignore invalid vm.cpu.mode in V3
In version 3 of the API invalid values of the "vm.cpu.mode" attribute
were just ignored, but in version 4 of the server enums are validated
before they reach the mappers. This means that in the V3 translation
layer we need to catch and ignore the exception.
Change-Id: I2adcd98eb226c6858bc2628f22be0e662200db80
Bug-Url:
https://bugzilla.redhat.com/1337181
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/adapters/V3CPUInAdapter.java
1 file changed, 11 insertions(+), 1 deletion(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/57708
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2adcd98eb226c6858bc2628f22be0e662200db80
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>