Ayal Baron has posted comments on this change. Change subject: webadmin: Disallow adding of more then one host to local DC ......................................................................
Patch Set 1: (1 inline comment) .................................................... File frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/datacenters/DataCenterGuideModel.java Line 1378: if (getEntity().getstorage_pool_type() == StorageType.LOCALFS) { How about: isMultiHostDC = getEntity().getstorage_pool_type() != StorageType.LOCALFS model.getCluster().setIsAvailable(isMultiHostDC) model.setMultiSelection(isMultiHostDC); No need for 3 line comment as this is self explanatory (imo). same can be applied in clusterGuide -- To view, visit http://gerrit.ovirt.org/4877 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I59fe8efbda906860f15a881bcc37fe3d5a21ada6 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tal Nisan <tni...@redhat.com> Gerrit-Reviewer: Ayal Baron <aba...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches