Change in ovirt-engine[master]: restapi: Don't add actions to links to slaves of bonds

Juan Hernandez has submitted this change and it was merged. Change subject: restapi: Don't add actions to links to slaves of bonds ...................................................................... restapi: Don't add actions to links to slaves of bonds Currently the links to slaves of bonds contain the 'href' and 'id' attributes, but also links to nested actions: <slaves> <host_nic id="..." href="..."> <actions> <link href="..." id="..."/> ... </actions> </host_nic> ... </slaves> This isn't correct, as links should only contain the 'href' and 'id' attributes, and no nested elements: <slaves> <host_nic id="..." href="..."/> ... </slaves> This patch solves that problem. Change-Id: I6571e228be7dd1c1c7b8538e95ad71fa57ed3973 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostNicsResource.java 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Dominik Holler: Verified; 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/65593 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6571e228be7dd1c1c7b8538e95ad71fa57ed3973 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Dominik Holler <dholler@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
juan.hernandez@redhat.com