summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-rpc-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli-rpc-ops.c')
-rw-r--r--cli/src/cli-rpc-ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index 3304ad1978e..290028f6510 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -704,7 +704,7 @@ gf_cli_print_tier_info (dict_t *dict, int i, int brick_count)
if (ret)
goto out;
- cli_out ("Cold Bricks:");
+ cli_out ("Cold Tier:");
vol_type = cold_type;
if ((cold_type != GF_CLUSTER_TYPE_TIER) &&
(cold_type > 0) &&
@@ -4314,7 +4314,7 @@ gf_cli_detach_tier (call_frame_t *frame, xlator_t *this,
if (command == GF_OP_CMD_STATUS)
cmd |= GF_DEFRAG_CMD_STATUS;
else
- cmd |= GF_DEFRAG_CMD_STOP;
+ cmd |= GF_DEFRAG_CMD_STOP_DETACH_TIER;
ret = dict_set_int32 (dict, "rebalance-command", (int32_t) cmd);
if (ret) {