Kanagaraj M has posted comments on this change. Change subject: engine, webadmin: Disable add/remove bricks for EC volumes ......................................................................
Patch Set 5: (1 comment) https://gerrit.ovirt.org/#/c/41053/5/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java File frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java: Line 193: boolean allowReplace = true; Line 194: boolean allowAdvanced = true; Line 195: boolean allowAdd = true; Line 196: Line 197: if (volumeEntity != null && volumeEntity.getVolumeType().isDispersedType()) { This should be volumeEntity == null || volumeEntity.getVolumeType().isDispersedType() So the action will not available if volumeEntity is null Line 198: allowRemove = false; Line 199: allowAdd = false; Line 200: } Line 201: -- To view, visit https://gerrit.ovirt.org/41053 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id96714b4faea8f0f1c29cb5ef4426b8c4a2a7ffa Gerrit-PatchSet: 5 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com> Gerrit-Reviewer: Ramesh N <rnach...@redhat.com> Gerrit-Reviewer: Sahina Bose <sab...@redhat.com> Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com> Gerrit-Reviewer: anmolbabu <anb...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches