Liron Aravot has posted comments on this change. Change subject: core: add clear message for live snapshot fail ......................................................................
Patch Set 3: (1 inline comment) .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CreateAllSnapshotsFromVmCommand.java Line 265: // if live snapshot is not available, then if vm is up - snapshot is not possible so it needs to be Line 266: // checked if vm up or not Line 267: // if live snapshot is enabled, there is no need to check if vm is up since in any case snapshot is possible Line 268: if (!isLiveSnapshotEnabled() && !ImagesHandler.isVmDown(vm)) { Line 269: // if there is no live snapshot and the vm is up - snapshot is not possible please change here to: return failCanDoAction... Line 270: addCanDoActionMessage(VdcBllMessages.ACTION_TYPE_FAILED_DATA_CENTER_VERSION_DOESNT_SUPPORT_LIVE_SNAPSHOT); Line 271: return false; Line 272: } Line 273: return true; -- 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: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alissa Bonas <abo...@redhat.com> Gerrit-Reviewer: Alissa Bonas <abo...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Liron Aravot <lara...@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