summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/brick_libs.py
diff options
context:
space:
mode:
authorShwethaHP <spandura@redhat.com>2017-08-17 12:40:21 +0530
committerShwethaHP <spandura@redhat.com>2017-08-17 12:41:27 +0530
commit82a928a7fb408718db94df026b66e807eb554873 (patch)
tree80737fd5fa66813d995ed4cceb8ea16281f622c0 /glustolibs-gluster/glustolibs/gluster/brick_libs.py
parent0a4cdc909d4f5cb60b5dba5f2ca360db8e74796f (diff)
Typo: Space to be added between the commands execution.
Change-Id: I5ea8b6c0b58fd19c31fc96cc567c53000cd3841b Signed-off-by: ShwethaHP <spandura@redhat.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/brick_libs.py')
-rw-r--r--glustolibs-gluster/glustolibs/gluster/brick_libs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/brick_libs.py b/glustolibs-gluster/glustolibs/gluster/brick_libs.py
index 1511030..ce23c44 100644
--- a/glustolibs-gluster/glustolibs/gluster/brick_libs.py
+++ b/glustolibs-gluster/glustolibs/gluster/brick_libs.py
@@ -193,7 +193,7 @@ def bring_bricks_offline(volname, bricks_list,
if bring_brick_offline_method == 'service_kill':
brick_node, brick_path = brick.split(":")
brick_path = brick_path.replace("/", "-")
- kill_cmd = ("pid=`cat /var/lib/glusterd/vols/%s/run/%s%s.pid` &&"
+ kill_cmd = ("pid=`cat /var/lib/glusterd/vols/%s/run/%s%s.pid` && "
"kill -15 $pid || kill -9 $pid" %
(volname, brick_node, brick_path))
ret, _, _ = g.run(brick_node, kill_cmd)