summaryrefslogtreecommitdiffstats
path: root/src/com.gluster.storage.management.server.scripts
diff options
context:
space:
mode:
authorSelvasundaram <selvam@gluster.com>2011-07-22 12:37:12 +0530
committerSelvasundaram <selvam@gluster.com>2011-07-22 12:37:12 +0530
commitb4d9ab31367c201b2acd5de64cd2c3d5545ca678 (patch)
treef90234a93cae9220b0e918a92a04210989433a76 /src/com.gluster.storage.management.server.scripts
parentb8f8971cadb8cfb0a950047234767c2e0a8346f4 (diff)
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__":