From 0eb3ff87b584dbe394722a5805727ae497dbdec8 Mon Sep 17 00:00:00 2001 From: Vitalii Koriakov Date: Thu, 30 Aug 2018 15:15:44 +0300 Subject: Changed disabled to disable Change-Id: I616ffab2a797330778781a8245de87a0f5775df3 Signed-off-by: Vitalii Koriakov --- glustolibs-gluster/glustolibs/gluster/brickmux_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glustolibs-gluster/glustolibs') diff --git a/glustolibs-gluster/glustolibs/gluster/brickmux_ops.py b/glustolibs-gluster/glustolibs/gluster/brickmux_ops.py index 4e528f09e..4f8c75117 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 -- cgit