From 4cd6308ec21edf3a7e48e84bd98bbceb80e18ac5 Mon Sep 17 00:00:00 2001 From: Shireesh Anjal Date: Fri, 19 Aug 2011 19:03:40 +0530 Subject: Code cleanup --- .../storage/management/gateway/resources/v1_0/VolumesResource.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/com.gluster.storage.management.gateway/src/com/gluster/storage/management/gateway/resources/v1_0/VolumesResource.java b/src/com.gluster.storage.management.gateway/src/com/gluster/storage/management/gateway/resources/v1_0/VolumesResource.java index cfcf3f96..795db477 100644 --- a/src/com.gluster.storage.management.gateway/src/com/gluster/storage/management/gateway/resources/v1_0/VolumesResource.java +++ b/src/com.gluster.storage.management.gateway/src/com/gluster/storage/management/gateway/resources/v1_0/VolumesResource.java @@ -273,8 +273,6 @@ public class VolumesResource extends AbstractResource { @Path(RESOURCE_DEFAULT_OPTIONS) @Produces(MediaType.APPLICATION_XML) public VolumeOptionInfoListResponse getDefaultOptionsXML(@PathParam(PATH_PARAM_CLUSTER_NAME) String clusterName) { - // TODO: Fetch all volume options with their default values from GlusterFS - // whenever such a CLI command is made available in GlusterFS return new VolumeOptionInfoListResponse(Status.STATUS_SUCCESS, volumeOptionsDefaults.getDefaults(clusterName)); } @@ -282,8 +280,6 @@ public class VolumesResource extends AbstractResource { @Path(RESOURCE_DEFAULT_OPTIONS) @Produces(MediaType.APPLICATION_JSON) public VolumeOptionInfoListResponse getDefaultOptionsJSON(@PathParam(PATH_PARAM_CLUSTER_NAME) String clusterName) { - // TODO: Fetch all volume options with their default values from GlusterFS - // whenever such a CLI command is made available in GlusterFS return new VolumeOptionInfoListResponse(Status.STATUS_SUCCESS, volumeOptionsDefaults.getDefaults(clusterName)); } -- cgit