Change in ovirt-engine[ovirt-engine-4.0]: restapi: don't ignore new template's name on import image fr...

tnisan at redhat.com tnisan at redhat.com
Thu Jun 9 12:46:51 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: restapi: don't ignore new template's name on import image from Glance
......................................................................


restapi: don't ignore new template's name on import image from Glance

When importing an image as a template from Glance, if the URL that is
used is of the form
"/api/openstackimageproviders/<provider_id>/images/<image_id>/import"
and the template's name is specified, it is ignored and not passed to
ImportRepoImageCommand.

This patch passes this parameter if it is specified.

Change-Id: I60f44c0d519e7deea29095543b1a06ac0d6a1ef4
Bug-Url: https://bugzilla.redhat.com/1344048
Signed-off-by: Idan Shaby <ishaby at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/openstack/BackendOpenStackImageResource.java
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Tal Nisan: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Idan Shaby: Verified



-- 
To view, visit https://gerrit.ovirt.org/58904
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I60f44c0d519e7deea29095543b1a06ac0d6a1ef4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list