From 3b4bc185024c905dc321b90d7972c3efecf45d01 Mon Sep 17 00:00:00 2001 From: Avra Sengupta Date: Wed, 30 Oct 2013 12:17:53 +0530 Subject: glusterd/Jarvis: Added aggr rsp dict in mgmt framework Also fixes snapshot config output Change-Id: Ia50d94492009cf73dbb99ba20117b9fa4c41048a Signed-off-by: Avra Sengupta --- cli/src/cli-rpc-ops.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'cli/src') diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 870588e9a..b39ce6a11 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -7988,11 +7988,12 @@ gf_cli_snapshot_cbk (struct rpc_req *req, struct iovec *iov, ret = -1; goto out; } - cli_out ("Max snapshot count set for %s is %"PRIu64, + cli_out ("snapshot config: snap-max-limit for " + "%s set to %"PRIu64, volname, limit); } else { - cli_out ("Snapshot config max set for %s successfull", - volname); + cli_out ("snapshot config: snap-max-limit " + "for %s set successfully", volname); } break; @@ -8029,7 +8030,7 @@ gf_cli_snapshot (call_frame_t *frame, xlator_t *this, GLUSTER_CLI_SNAP, this, cli_rpc_prog, NULL); out: - gf_log ("cli", GF_LOG_ERROR, "Returning %d", ret); + gf_log ("cli", GF_LOG_DEBUG, "Returning %d", ret); GF_FREE (req.dict.dict_val); return ret; -- cgit