Change in ovirt-engine[ovirt-engine-3.4]: restapi: Use current name when updating pool

Oved Ourfali has submitted this change and it was merged. Change subject: restapi: Use current name when updating pool ...................................................................... restapi: Use current name when updating pool When updating a VM pool the RESTAPI tries to find the VM data using the name of the pool, but it uses the name provided by the caller, which may not be provided, or different to the current one. The effect of this is that any update not containing the name of the pool fails with a 404 response code. This patch changes that logic to use the current name of the pool. Change-Id: Icfd4ae9bf7efed8db6b22cfa7e5dbdbd62cd1136 Related: https://bugzilla.redhat.com/1085386 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmPoolResource.java 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/26949 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Icfd4ae9bf7efed8db6b22cfa7e5dbdbd62cd1136 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4 Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
oourfali@redhat.com