diff options
| author | Atin Mukherjee <amukherj@redhat.com> | 2017-09-15 19:01:53 +0530 |
|---|---|---|
| committer | jiffin tony Thottan <jthottan@redhat.com> | 2017-09-28 20:56:21 +0000 |
| commit | b49e9c78659c3912a732789ef39d5ef14cefcf48 (patch) | |
| tree | 13dbac9ec17213c8289957dc26b2440b9d1d91e4 /cli/src/cli-cmd-parser.c | |
| parent | bfc8b09f233a3dfcce776da37389b6c83e4d85dc (diff) | |
events : Add brick list in EVENT_VOLUME_CREATE
>Reviewed-on: https://review.gluster.org/18306
>Reviewed-by: Prashanth Pai <ppai@redhat.com>
>Smoke: Gluster Build System <jenkins@build.gluster.org>
>Reviewed-by: Aravinda VK <avishwan@redhat.com>
>CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
>(cherry picked from commit f6775423d7fbe71fe35e6154388e77aae2e264ad)
Change-Id: Ibf87ae5ca57f9d27c036f329a30c8f81b51c52bf
BUG: 1491292
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-parser.c')
| -rw-r--r-- | cli/src/cli-cmd-parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 984ce5bbad0..45e93df8b9a 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"); |
