Change in ovirt-engine[master]: core: Handle snapshot entity instead of snapshot id.

mlipchuk at redhat.com mlipchuk at redhat.com
Mon Jun 6 12:59:51 UTC 2016


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 at 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 at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list