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

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Apr 22 10:16:48 UTC 2014


Juan Hernandez 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 at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmPoolResource.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/26859
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icfd4ae9bf7efed8db6b22cfa7e5dbdbd62cd1136
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list