Daniel Erez has posted comments on this change. Change subject: webadmin: Add host SPM priority value in host general tab ......................................................................
Patch Set 1: (1 inline comment) .................................................... File frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java Line 293: spmLowPriorityValue = spmDefaultPriorityValue / 2; Line 294: spmHighPriorityValue = spmDefaultPriorityValue + (spmMaxPriorityValue - spmDefaultPriorityValue) / 2; Line 295: } Line 296: Line 297: private void updateSpmPriority() { extract this logic to the view (into a new label/renderer) Line 298: if (spmPriorityValue == null) { Line 299: setSpmPriority(null); Line 300: } Line 301: else if (spmPriorityValue == spmLowPriorityValue) { -- To view, visit http://gerrit.ovirt.org/11895 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I9dc7b21ccb893b6d27443482b650659165dd40b6 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tal Nisan <tni...@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