Liron Aravot has submitted this change and it was merged.
Change subject: restapi: BackendTemplateDiskResource.copy() - pass the disk id
......................................................................
restapi: BackendTemplateDiskResource.copy() - pass the disk id
Currently the callers of MoveOrCopyDisk command always pass
the disk id to the command, an exception is BackendTemplateDiskResource.copy().
This patch set the disk id on the passed parameters.
Change-Id: Ia99e06feb7d67769c2d831a140e869d8d7116744
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1324363
Signed-off-by: Liron Aravot <laravot(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendTemplateDiskResource.java
M
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendTemplateDiskResourceTest.java
2 files changed, 8 insertions(+), 4 deletions(-)
Approvals:
Ori Liel: Looks good to me, approved
Liron Aravot: Verified; Looks good to me, approved; Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/55718
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia99e06feb7d67769c2d831a140e869d8d7116744
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>