Tal Nisan has submitted this change and it was merged.
Change subject: restapi: Return added affinity label
......................................................................
restapi: Return added affinity label
Currently when an affinity label is added to a host or to a virtual
machine, the doesn't return the added label, like all the other "add"
operations of the API do. This patch changes the relevant resource so
that it will fetch and return the added affinity label.
Change-Id: I8d8c9de6b87424706faf7643924790ba08200c4b
Bug-Url:
https://bugzilla.redhat.com/1350228
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit 57b26e6e4abd81389937fe931a0cfdb5af879cca)
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendAssignedAffinityLabelsResource.java
1 file changed, 14 insertions(+), 1 deletion(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/59840
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8d8c9de6b87424706faf7643924790ba08200c4b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
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: gerrit-hooks <automation(a)ovirt.org>