Oved Ourfali has posted comments on this change.

Change subject: webadmin: Add FencingPolicy to cluster configuration
......................................................................


Patch Set 5:

(1 comment)

http://gerrit.ovirt.org/#/c/30195/5/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterModel.java
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterModel.java:

Line 1479:     private void updateFencingPolicyContent(Version ver) {
Line 1480:         boolean supported = 
AsyncDataProvider.getInstance().isSkipFencingIfSDActiveSupported(ver.getValue());
Line 1481:         getSkipFencingIfSDActiveEnabled().setIsChangable(supported);
Line 1482:         if (supported) {
Line 1483:             if (getEntity() == null) {
what is "getEntity"? isn't it supposed to be 
getSkipFencingIfSDActiveEnabled().getEntity() == null ?
Line 1484:                 // this can happen when creating new cluster and 
cluster dialog is shown
Line 1485:                 getSkipFencingIfSDActiveEnabled().setEntity(true);
Line 1486:             } else {
Line 1487:                 
getSkipFencingIfSDActiveEnabled().setEntity(getEntity().getFencingPolicy().isSkipFencingIfSDActive());


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iaecc1662324ce3d3072c9e850fcf8026ccfab0b2
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Peřina <mper...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Martin Peřina <mper...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjeli...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to