summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/brick_ops.py
diff options
context:
space:
mode:
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/brick_ops.py')
-rw-r--r--glustolibs-gluster/glustolibs/gluster/brick_ops.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/brick_ops.py b/glustolibs-gluster/glustolibs/gluster/brick_ops.py
index 7ac34c690..db4074c61 100644
--- a/glustolibs-gluster/glustolibs/gluster/brick_ops.py
+++ b/glustolibs-gluster/glustolibs/gluster/brick_ops.py
@@ -100,8 +100,7 @@ def remove_brick(mnode, volname, bricks_list, option, xml=False, **kwargs):
The third element 'err' is of type 'str' and is the stderr value
of the command execution.
"""
- if option == "commit" or option == "force":
- option = option + " --mode=script"
+ option = option + " --mode=script"
replica_count = None
replica = ''