Allon Mureinik has posted comments on this change.

Change subject: core: TrybackToAllSnapshots vmDown validation
......................................................................


Patch Set 2: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TryBackToAllSnapshotsOfVmCommand.java
Line 207: 
Line 208:         Snapshot snapshot = 
getSnapshotDao().get(getParameters().getDstSnapshotId());
Line 209:         SnapshotsValidator snapshotsValidator = new 
SnapshotsValidator();
Line 210:         VmValidator vmValidator = new VmValidator(getVm());
Line 211:         result = result && 
validate(snapshotsValidator.vmNotDuringSnapshot(getVmId()))
agree, on both points - will fix.
Line 212:                 && 
validate(snapshotsValidator.snapshotExists(snapshot))
Line 213:                 && 
validate(snapshotsValidator.snapshotNotBroken(snapshot))
Line 214:                 && validate(vmValidator.vmDown());
Line 215: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I5f8fa014e73e6f10693edd1e4ccff4656d50053b
Gerrit-PatchSet: 2
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: Tal Nisan <tni...@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