diff options
author | Avra Sengupta <asengupt@redhat.com> | 2013-10-30 12:17:53 +0530 |
---|---|---|
committer | shishir gowda <sgowda@redhat.com> | 2013-11-15 14:45:14 +0530 |
commit | 3b4bc185024c905dc321b90d7972c3efecf45d01 (patch) | |
tree | 8d6d2565195ef2555cad829930f2d72beabac088 /cli | |
parent | 36c2d6a02b053ac5e0584d52a6ded00bfa493db6 (diff) |
glusterd/Jarvis: Added aggr rsp dict in mgmt framework
Also fixes snapshot config output
Change-Id: Ia50d94492009cf73dbb99ba20117b9fa4c41048a
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r-- | cli/src/cli-rpc-ops.c | 9 |
1 files changed, 5 insertions, 4 deletions
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; |