summaryrefslogtreecommitdiffstats
path: root/src/com.gluster.storage.management.server
diff options
context:
space:
mode:
authorDhandapani <dhandapani@gluster.com>2011-07-28 14:12:53 +0530
committerDhandapani <dhandapani@gluster.com>2011-07-28 14:50:41 +0530
commitafe08a10dd08daa116e6002b3f34cc9a055455ca (patch)
tree414f6b673442e4673f352a0390eada7a11b4db30 /src/com.gluster.storage.management.server
parent9b9afde168857855d07823e9e66be84de2ab8b61 (diff)
parent9d68dfd93f71ccae9c1a6dc0455e55279d1fcc58 (diff)
Merge branch 'master' of git@github.com:gluster/console
Diffstat (limited to 'src/com.gluster.storage.management.server')
-rw-r--r--src/com.gluster.storage.management.server/src/com/gluster/storage/management/server/utils/ServerUtil.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com.gluster.storage.management.server/src/com/gluster/storage/management/server/utils/ServerUtil.java b/src/com.gluster.storage.management.server/src/com/gluster/storage/management/server/utils/ServerUtil.java
index 57973dd6..f0aab567 100644
--- a/src/com.gluster.storage.management.server/src/com/gluster/storage/management/server/utils/ServerUtil.java
+++ b/src/com.gluster.storage.management.server/src/com/gluster/storage/management/server/utils/ServerUtil.java
@@ -59,6 +59,7 @@ public class ServerUtil {
private static final String SCRIPT_DIR = "scripts";
private static final String SCRIPT_COMMAND = "python";
private static final String REMOTE_SCRIPT_GET_DISK_FOR_DIR = "get_disk_for_dir.py";
+ private static final String REMOTE_SCRIPT_GET_SERVER_DETAILS = "get_server_details.py";
public void setSshUtil(SshUtil sshUtil) {
this.sshUtil = sshUtil;
@@ -97,7 +98,7 @@ public class ServerUtil {
private Object fetchServerDetails(String serverName) {
// fetch standard server details like cpu, disk, memory details
- Object response = executeOnServer(true, serverName, "get_server_details.py", Server.class);
+ Object response = executeOnServer(true, serverName, REMOTE_SCRIPT_GET_SERVER_DETAILS, Server.class);
if (response instanceof Status) {
throw new GlusterRuntimeException(((Status) response).getMessage());
}