Doron Fediuck has posted comments on this change.

Change subject: webamin: hide cpuPin section according to config values
......................................................................


Patch Set 1: I would prefer that you didn't submit this

(2 inline comments)

See inline- some cleanups needed.

....................................................
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ConfigurationValues.java
Line 83:     GlusterVolumeOptionGroupVirtValue,
Line 84:     GlusterVolumeOptionOwnerUserVirtValue,
Line 85:     GlusterVolumeOptionOwnerGroupVirtValue,
Line 86:     CpuPinningEnabled,
Line 87:     CpuPinMigrationEnabled,
You have an extra ',' here. please remove it.
Line 88:     ;
Line 89: 
Line 90:     public static enum ConfigAuthType {
Line 91:         Admin,


....................................................
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmModelBehaviorBase.java
Line 749:             }
Line 750:         }
Line 751:     }
Line 752: 
Line 753:     private boolean isVmMigratable() {
Gilad, the VM entity has isVmMigratable().

Can you use it instead if the below?
Line 754:         if 
(Boolean.TRUE.equals(getModel().getRunVMOnSpecificHost().getEntity())
Line 755:                 || 
Boolean.FALSE.equals(getModel().getIsAutoAssign().getEntity())
Line 756:                 || 
Boolean.TRUE.equals(getModel().getDontMigrateVM().getEntity())) {
Line 757:             return false;


--
To view, visit http://gerrit.ovirt.org/9664
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ifae4242379136d6dc580d1ee6c78757ff1e7e022
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfedi...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to