From ec055e1e6908ac829efc103deb548cc0a774cf23 Mon Sep 17 00:00:00 2001 From: Mohammed Rafi KC Date: Sat, 2 May 2015 17:31:07 +0530 Subject: cli/tiering: Enhance cli output for tiering back port of http://review.gluster.org/10284 Fix for handling cli output for attach-tier and detach-tier >Change-Id: I4d17f4b09612754fe1b8cec6c2e14927029b9678 >BUG: 1211562 >Signed-off-by: Mohammed Rafi KC >Reviewed-on: http://review.gluster.org/10284 >Reviewed-by: Dan Lambright >Tested-by: Gluster Build System >Tested-by: NetBSD Build System >Reviewed-by: Vijay Bellur Change-Id: Ic30c8f0a104d89bf98f5d0069937a34674ee3f2d BUG: 1220052 Signed-off-by: Mohammed Rafi KC Reviewed-on: http://review.gluster.org/10713 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- cli/src/cli-cmd-volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/src/cli-cmd-volume.c') diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 7b2fb079e50..ecd838d52c0 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -939,7 +939,7 @@ cli_cmd_volume_detach_tier_cbk (struct cli_state *state, if (ret) goto out; - ret = dict_set_int32 (options, "count", 1); + ret = dict_set_int32 (options, "count", 0); if (ret) goto out; -- cgit