Shubhendu Tripathi has uploaded a new change for review.

Change subject: webadmin: Removes option to create Disperse volumes from UI
......................................................................

webadmin: Removes option to create Disperse volumes from UI

Removes Disperse, Distributed Disperse volumes from create volume popup.

Change-Id: I0c6632364f7a54a698702614fdbca8e8a4bd520a
Bug-Url: https://bugzilla.redhat.com/1212302
Signed-off-by: Karnan TC <kchid...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeModel.java
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/15/41915/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeModel.java
index 0020294..5a43a59 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeModel.java
@@ -108,6 +108,8 @@
 
         setTypeList(new ListModel<GlusterVolumeType>());
         ArrayList<GlusterVolumeType> list = new 
ArrayList<GlusterVolumeType>(Arrays.asList(GlusterVolumeType.values()));
+        list.remove(GlusterVolumeType.DISPERSE);
+        list.remove(GlusterVolumeType.DISTRIBUTED_DISPERSE);
         getTypeList().setItems(list);
 
         setReplicaCount(new EntityModel<Integer>());


-- 
To view, visit https://gerrit.ovirt.org/41915
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0c6632364f7a54a698702614fdbca8e8a4bd520a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5-gluster
Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to