diff options
author | ShwethaHP <spandura@redhat.com> | 2017-08-17 12:40:21 +0530 |
---|---|---|
committer | ShwethaHP <spandura@redhat.com> | 2017-08-17 12:41:27 +0530 |
commit | 82a928a7fb408718db94df026b66e807eb554873 (patch) | |
tree | 80737fd5fa66813d995ed4cceb8ea16281f622c0 | |
parent | 0a4cdc909d4f5cb60b5dba5f2ca360db8e74796f (diff) |
Typo: Space to be added between the commands execution.
Change-Id: I5ea8b6c0b58fd19c31fc96cc567c53000cd3841b
Signed-off-by: ShwethaHP <spandura@redhat.com>
-rw-r--r-- | glustolibs-gluster/glustolibs/gluster/brick_libs.py | 2 |
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 15110300f..ce23c442e 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) |