From f6775423d7fbe71fe35e6154388e77aae2e264ad Mon Sep 17 00:00:00 2001 From: Atin Mukherjee Date: Fri, 15 Sep 2017 19:01:53 +0530 Subject: events : Add brick list in EVENT_VOLUME_CREATE Change-Id: Ibf87ae5ca57f9d27c036f329a30c8f81b51c52bf BUG: 1492109 Signed-off-by: Atin Mukherjee Reviewed-on: https://review.gluster.org/18306 Reviewed-by: Prashanth Pai Smoke: Gluster Build System Reviewed-by: Aravinda VK CentOS-regression: Gluster Build System --- cli/src/cli-cmd-parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/src/cli-cmd-parser.c') diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 4914425698f..fef2c74f971 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -431,7 +431,7 @@ out: int32_t cli_cmd_volume_create_parse (struct cli_state *state, const char **words, - int wordcount, dict_t **options) + int wordcount, dict_t **options, char **brick_list) { dict_t *dict = NULL; char *volname = NULL; @@ -749,7 +749,7 @@ cli_cmd_volume_create_parse (struct cli_state *state, const char **words, goto out; *options = dict; - + *brick_list = bricks; out: if (ret) { gf_log ("cli", GF_LOG_ERROR, "Unable to parse create volume CLI"); -- cgit