Ori Liel has submitted this change and it was merged.
Change subject: restapi: Update VmPool - Identify Template by name.
......................................................................
restapi: Update VmPool - Identify Template by name.
When updating a Vm-Pool, if user provides the template
name (vs ID), the action currently fails. This patch
infers the Template ID using the Template name before
sending the request to the engine.
Change-Id: Ie807569c42d956630f8a7a0c5f868bd50559300a
Signed-off-by: Ori Liel <oliel(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmPoolResource.java
1 file changed, 19 insertions(+), 1 deletion(-)
Approvals:
Ori Liel: Verified; Looks good to me, approved
Juan Hernandez: Looks good to me, but someone else must approve
Omer Frenkel: Looks good to me, but someone else must approve
--
To view, visit
https://gerrit.ovirt.org/40985
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie807569c42d956630f8a7a0c5f868bd50559300a
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org