summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2015-05-13 10:55:14 +0530
committerKrishnan Parthasarathi <kparthas@redhat.com>2015-05-31 14:25:33 -0700
commita2ef223f3891a58177f24207d71baa0580fccb16 (patch)
treebcc2b47b8d9250d8706ad40347bde24378340428 /cli
parent1081f249e283de2779c167c201c39c9f8102c0ef (diff)
tier/cli: detach-tier status emulate like detach-tier stop
detach-tier status stops the detach-tier process, and nothing shows for status. Change-Id: Ibe25cb11e2f946d1389063060e4880e877dbe006 BUG: 1221000 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com> Reviewed-on: http://review.gluster.org/10762 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-rpc-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index f3ed8adfdc2..3304ad1978e 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -4302,7 +4302,7 @@ gf_cli_detach_tier (call_frame_t *frame, xlator_t *this,
goto out;
if ((command != GF_OP_CMD_STATUS) &&
- (command != GF_DEFRAG_CMD_STOP_DETACH_TIER)) {
+ (command != GF_OP_CMD_STOP_DETACH_TIER)) {
ret = cli_to_glusterd (&req, frame, gf_cli_detach_tier_cbk,