Alissa Bonas has posted comments on this change.
Change subject: core: add clear message for live snapshot fail
......................................................................
Patch Set 5: (1 inline comment)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateAllSnapshotsFromVmCommand.java
Line 243: if (disksList.size() > 0) {
Line 244: VmValidator vmValidator = new VmValidator(getVm());
Line 245: result = validate(new
SnapshotsValidator().vmNotDuringSnapshot(getVmId()))
Line 246: && validate(vmValidator.vmNotDuringMigration())
Line 247: && validate(vmValidator.vmNotRunningStateless())
Liron, in the future it is better to accumulate all your comments in one review
-especially for the same piece of code.
You current comment might be true, however should be solved in a different
patch/bug, it is not in scope for this one.
Line 248: && canDoSnapshot(getVm())
Line 249: && ImagesHandler.PerformImagesChecks(getVm(),
Line 250: getReturnValue().getCanDoActionMessages(),
Line 251: getVm().getStoragePoolId(),
--
To view, visit http://gerrit.ovirt.org/10171
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I7b6dfc138951baddc991a82a4c9e64f60499428a
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Sharad Mishra <[email protected]>
Gerrit-Reviewer: Vered Volansky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches