Liron Aravot has posted comments on this change.

Change subject: core: ImprotVm: disk alias with copyCollapse=false
......................................................................


Patch Set 1: (3 inline comments)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
Line 729:      * Save a snapshot if it does not exist in the database.
Line 730:      * @param snapshotId The snapshot to save.
Line 731:      * @param disk The disk containing the snapshot's information.
Line 732:      */
Line 733:     protected void saveSnapshot(Guid snapshotId, DiskImage disk) {
this if should be outside of the method or the method name should reflect that 
it might not perform save
Line 734:         if (!getSnapshotDao().exists(getVm().getId(), snapshotId)) {
Line 735:             getSnapshotDao().save(
Line 736:                     new Snapshot(snapshotId,
Line 737:                             SnapshotStatus.OK,


Line 746: 
Line 747:     /**
Line 748:      * Update a snapshot and make it the active snapshot.
Line 749:      * @param snapshotId The snapshot to update.
Line 750:      */
/s/updaet/update
Line 751:     protected void updaetActiveSnapshot(Guid snapshotId) {
Line 752:         getSnapshotDao().update(
Line 753:                 new Snapshot(snapshotId,
Line 754:                         SnapshotStatus.OK,


....................................................
Commit Message
Line 2: Author:     Allon Mureinik <amure...@redhat.com>
Line 3: AuthorDate: 2012-12-02 11:09:42 +0200
Line 4: Commit:     Allon Mureinik <amure...@redhat.com>
Line 5: CommitDate: 2012-12-02 11:24:38 +0200
Line 6: 
/s/Improt/Import
Line 7: core: ImprotVm: disk alias with copyCollapse=false
Line 8: 
Line 9: Added disk aliases in ImportVmCommand when copyCollapse=false.
Line 10: 


--
To view, visit http://gerrit.ovirt.org/9631
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I4f03699ece4d20f2d20beb791c3cb1518e39c4d1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Alissa Bonas <abo...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Vered Volansky <vvola...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to