summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShireesh Anjal <anjalshireesh@gmail.com>2011-12-06 04:34:53 -0800
committerShireesh Anjal <anjalshireesh@gmail.com>2011-12-06 04:34:53 -0800
commit626434e90471b4dd33a06519d091d3f117815392 (patch)
tree9e42f85133a8b44844a32015d12d31346f815938
parentc982afd10416d9bdf0832769a8ea4bd2c3cdae5d (diff)
parentf0c50f9bf5e1f7da6ebce6c404b2614a5de6bfba (diff)
Merge pull request #14 from Selvasundaram/master
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);
}