From 2f9ce3f4fd23d1a9256e84830805a62f1ebe76fb Mon Sep 17 00:00:00 2001 From: Kaushik BV Date: Mon, 18 Apr 2011 02:09:00 +0000 Subject: mgmt/glusterd: change the cli output of geo-rep start/stop to resemble the output of volume start/stop Signed-off-by: Kaushik BV Signed-off-by: Anand Avati BUG: 1570 (geosync related changes) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570 --- cli/src/cli-rpc-ops.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cli') diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index aa6d80f37..e7e92eaa9 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -2721,11 +2721,13 @@ gf_cli3_1_gsync_set_cbk (struct rpc_req *req, struct iovec *iov, switch (rsp.type) { case GF_GSYNC_OPTION_TYPE_START: - cli_out (GEOREP" session started Successfully"); + cli_out ("Starting " GEOREP " session between %s & %s" + " has been successful", rsp.master, rsp.slave); break; case GF_GSYNC_OPTION_TYPE_STOP: - cli_out (GEOREP" session stopped successfully"); + cli_out ("Stopping " GEOREP " session between %s & %s" + " has been successful", rsp.master, rsp.slave); break; case GF_GSYNC_OPTION_TYPE_CONFIGURE: -- cgit