
Maor Lipchuk has submitted this change and it was merged. Change subject: core: Handle snapshot entity instead of snapshot id. ...................................................................... core: Handle snapshot entity instead of snapshot id. On restore we should use the snapshot entity instead only the snapshot id to indicate the snapshot that should be deleted don commit or undo operations. The reason for using the snapshot entity is to be able to get more information about the deleted snapshot like the creation date. Change-Id: I590b52d25bb774c886fe1e4e8741f2affbf2e9b8 Bug-Url: https://bugzilla.redhat.com/1290427 Signed-off-by: Maor Lipchuk <maorlipchuk@gmail.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/RestoreAllSnapshotsCommand.java 1 file changed, 13 insertions(+), 10 deletions(-) Approvals: Jenkins CI: Passed CI tests Daniel Erez: Looks good to me, approved Maor Lipchuk: Verified -- To view, visit https://gerrit.ovirt.org/58550 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I590b52d25bb774c886fe1e4e8741f2affbf2e9b8 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Maor Lipchuk <mlipchuk@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Arik Hadas <ahadas@redhat.com> Gerrit-Reviewer: Daniel Erez <derez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Maor Lipchuk <mlipchuk@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>