Change in ovirt-engine[master]: restapi: Populate "placement_policy.hosts" even with only on...

juan.hernandez at redhat.com juan.hernandez at redhat.com
Thu Oct 29 08:40:09 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Populate "placement_policy.hosts" even with only one host
......................................................................


restapi: Populate "placement_policy.hosts" even with only one host

Currently the "placement_policy.hosts" element is populated only if the
VM is pinned to 2 or more hosts. When it is pinned to only one host the
element isn't populated, only "placement_policy.host" is populated. This
patch changes the RESTAPI so that the multiple hosts will be always
populated, even if there is only one host.

Change-Id: I1819a1a2a35ca216071e225c319fb4423d7c3629
Bug-Url: https://bugzilla.redhat.com/1275733
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/VmMapper.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Dudi Maroshi: Looks good to me, but someone else must approve
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/47792
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1819a1a2a35ca216071e225c319fb4423d7c3629
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Dudi Maroshi <dudi at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list