Ori Liel has submitted this change and it was merged.
Change subject: restapi: Do not identify disk by snapshot-id
......................................................................
restapi: Do not identify disk by snapshot-id
Probably for legacy reasons, after disk creation, when resolving
the created entity, snapshot-id was used to determine disk
identity. This patch removes this and modifies test accordingly.
Change-Id: I3ae978ccddaec0a37bf23cfad130e317174e7388
Signed-off-by: Ori Liel <oliel(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendDisksResource.java
M
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendDisksResourceTest.java
2 files changed, 4 insertions(+), 4 deletions(-)
Approvals:
Ori Liel: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/4497
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3ae978ccddaec0a37bf23cfad130e317174e7388
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>