summaryrefslogtreecommitdiffstats
path: root/libs/utils/serverutils.py
diff options
context:
space:
mode:
authorShwetha-H-Panduranga <shwetha@gluster.com>2011-12-20 18:07:00 +0530
committerShwetha-H-Panduranga <shwetha@gluster.com>2011-12-20 18:07:00 +0530
commit7baeee99f8aabc71df3179083cbedaf34ec1f38e (patch)
treeb1167da1d446a37f968f3ae2367e368eaac46864 /libs/utils/serverutils.py
parenta36ddc28bded0507d90d0ffc9d0a04831d13f47f (diff)
The hostutils.execute_command now returns output(type dict). Hence reflecting changes in clientutils, serverutils
Diffstat (limited to 'libs/utils/serverutils.py')
-rw-r--r--libs/utils/serverutils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/utils/serverutils.py b/libs/utils/serverutils.py
index 78e48b8..226f35e 100644
--- a/libs/utils/serverutils.py
+++ b/libs/utils/serverutils.py
@@ -25,8 +25,8 @@ def execute_on_brick(brickkey, command, commandInput=None):
exportdirpath = brick_obj.path
command = "cd " + exportdirpath + ";" + command
- return_status = hostutils.execute_command(serverkey, command, commandInput)
- return return_status
+ output = hostutils.execute_command(serverkey, command, commandInput)
+ return output['exitstatus']
__all__ = ['execute_on_brick']