Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Fix PUT on host pinning update
......................................................................
restapi: Fix PUT on host pinning update
Only adding new hosts to the pinned to host list for a VM was possible.
Removing hosts had no effect at all because the original list was always
readded by the mapper.
Bug-Url:
https://bugzilla.redhat.com/1258389
Change-Id: I4fffc086f69f266623dec5091b28f5268cce4b52
Signed-off-by: Roman Mohr <rmohr(a)redhat.com>
---
M
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/VmMapper.java
M
backend/manager/modules/restapi/types/src/test/java/org/ovirt/engine/api/restapi/types/VmMapperTest.java
2 files changed, 30 insertions(+), 11 deletions(-)
Approvals:
Martin Sivák: Looks good to me, but someone else must approve
Juan Hernandez: Looks good to me, approved
Roman Mohr: Verified
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/45441
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4fffc086f69f266623dec5091b28f5268cce4b52
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roman Mohr <rmohr(a)redhat.com>
Gerrit-Reviewer: Dudi Maroshi <dudi(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr(a)redhat.com>
Gerrit-Reviewer: Tomer Saban <tsaban(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org