Tal Nisan has submitted this change and it was merged.
Change subject: restapi: Populate vm.placement_policy.affinity
......................................................................
restapi: Populate vm.placement_policy.affinity
The vm.placement_policy.affinity element isn't currently populated
correctly. This regression was probably introduced by the following
patch:
restapi: instance types need to have only the subset of template fields
https://gerrit.ovirt.org/46722
This patch restores the correct behaviour.
Change-Id: I969bfb53549212f5c1797dbd6605879a94cf5db1
Bug-Url:
https://bugzilla.redhat.com/1301992
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/VmMapper.java
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/52761
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I969bfb53549212f5c1797dbd6605879a94cf5db1
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>