summaryrefslogtreecommitdiffstats
path: root/src/com.gluster.storage.management.server.scripts
diff options
context:
space:
mode:
authorShireesh Anjal <anjalshireesh@gmail.com>2011-07-22 01:38:31 -0700
committerShireesh Anjal <anjalshireesh@gmail.com>2011-07-22 01:38:31 -0700
commit500221df2e0a79a055256fc87aa6a54dec34725a (patch)
treec1f264a8d57a81f9dd2139fc4830c90d034ba389 /src/com.gluster.storage.management.server.scripts
parenteda356334dc3a5ab0f23fd52a49f694bdf5c7e9e (diff)
parent2449f85473438e7b3d96600c040edc603e9d421f (diff)
Merge pull request #140 from Selvasundaram/master
get server status script bug fix
Diffstat (limited to 'src/com.gluster.storage.management.server.scripts')
-rwxr-xr-xsrc/com.gluster.storage.management.server.scripts/src/get_server_status.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com.gluster.storage.management.server.scripts/src/get_server_status.py b/src/com.gluster.storage.management.server.scripts/src/get_server_status.py
index 99432a72..a57428b6 100755
--- a/src/com.gluster.storage.management.server.scripts/src/get_server_status.py
+++ b/src/com.gluster.storage.management.server.scripts/src/get_server_status.py
@@ -12,12 +12,10 @@ def main():
sys.stderr.write("usage: %s\n" % os.path.basename(sys.argv[0]))
sys.exit(-1)
- responseDom = ResponseXml()
if Utils.runCommand("pidof glusterd") == 0:
print "ONLINE"
else:
print "OFFLINE"
- print responseDom.toxml()
sys.exit(0)
if __name__ == "__main__":