summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster
diff options
context:
space:
mode:
authorVitalii Koriakov <vkoriako@redhat.com>2018-08-30 15:15:44 +0300
committerVitalii Koriakov <vkoriako@redhat.com>2018-08-30 15:15:44 +0300
commit0eb3ff87b584dbe394722a5805727ae497dbdec8 (patch)
treeb1daee1c631da6e23a0113533a15dbbf5524e6c5 /glustolibs-gluster/glustolibs/gluster
parent349ef49743d06a6bb76abc88fc1159da3116a887 (diff)
Changed disabled to disable
Change-Id: I616ffab2a797330778781a8245de87a0f5775df3 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster')
-rwxr-xr-xglustolibs-gluster/glustolibs/gluster/brickmux_ops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/brickmux_ops.py b/glustolibs-gluster/glustolibs/gluster/brickmux_ops.py
index 4e528f0..4f8c751 100755
--- a/glustolibs-gluster/glustolibs/gluster/brickmux_ops.py
+++ b/glustolibs-gluster/glustolibs/gluster/brickmux_ops.py
@@ -53,7 +53,7 @@ def is_brick_mux_disabled(mnode):
cmd = ("gluster v get all all | grep cluster.brick-multiplex |"
"awk '{print $2}'")
_, out, _ = g.run(mnode, cmd)
- if "disabled" in out:
+ if "disable" in out:
return True
return False