Tal Nisan 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>
(cherry picked from commit f1fb3e722ab9c748548f58e129a1080d68859f3d)
---
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:
Juan Hernandez: Looks good to me, approved
Roman Mohr: Verified
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/45525
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4fffc086f69f266623dec5091b28f5268cce4b52
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Roman Mohr <rmohr(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org