summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSelvasundaram <selvam@gluster.com>2011-12-06 17:53:54 +0530
committerSelvasundaram <selvam@gluster.com>2011-12-06 17:53:54 +0530
commitf0c50f9bf5e1f7da6ebce6c404b2614a5de6bfba (patch)
tree0501888882747b22bde0725ed819663775f440ea
parente44722d0e0fc575208e915bad0758ba57605a846 (diff)
Fixed - Bug 3845 - New: Disk does not get mounted at mentioned path given from the UI.
-rw-r--r--src/org.gluster.storage.management.client/src/org/gluster/storage/management/client/GlusterServersClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org.gluster.storage.management.client/src/org/gluster/storage/management/client/GlusterServersClient.java b/src/org.gluster.storage.management.client/src/org/gluster/storage/management/client/GlusterServersClient.java
index cfb595f..4827c1d 100644
--- a/src/org.gluster.storage.management.client/src/org/gluster/storage/management/client/GlusterServersClient.java
+++ b/src/org.gluster.storage.management.client/src/org/gluster/storage/management/client/GlusterServersClient.java
@@ -87,7 +87,7 @@ public class GlusterServersClient extends AbstractClient {
public URI initializeDisk(String serverName, String diskName, String fsType, String mountPoint) {
Form form = new Form();
form.add(RESTConstants.FORM_PARAM_FSTYPE, fsType);
- form.add(RESTConstants.FORM_PARAM_MOUNTPOINT, fsType);
+ form.add(RESTConstants.FORM_PARAM_MOUNTPOINT, mountPoint);
return putRequestURI(serverName + "/" + RESTConstants.RESOURCE_DISKS + "/" + diskName, form);
}