Liron Ar has posted comments on this change. Change subject: core: allow to remove storage pool when the only disks are ovf stores ......................................................................
Patch Set 1: (1 comment) http://gerrit.ovirt.org/#/c/24644/1/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/StorageDomainValidator.java File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/StorageDomainValidator.java: Line 90: } Line 91: Line 92: private DbFacade getDbFacade() { Line 93: return DbFacade.getInstance(); Line 94: } > This code should be reused in the detach flow too. the detach flow performs further check currently, in order to reduce the noise as part of this feature, i left the checks separated as they were to avoid possible corner case. in a further change both of them will be using the same validation which will be the correct one. Line 95: Line 96: private static Integer getLowDiskSpaceThreshold() { Line 97: return Config.<Integer> getValue(ConfigValues.FreeSpaceCriticalLowInGB); Line 98: } -- To view, visit http://gerrit.ovirt.org/24644 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ifca867af242984aa9292938b88f568f51a4a147c Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Liron Ar <[email protected]> Gerrit-Reviewer: Allon Mureinik <[email protected]> Gerrit-Reviewer: Daniel Erez <[email protected]> Gerrit-Reviewer: Liron Ar <[email protected]> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
