diff options
author | Kotresh HR <khiremat@redhat.com> | 2019-04-23 12:41:32 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-05-11 11:09:06 +0000 |
commit | af4d9131c8d09907853ee2f6e30b2a9bd80f3c84 (patch) | |
tree | 87a3adb186c0b116574ee37aedc59942a92a60a5 /cli/src/cli.h | |
parent | b4db967224db3b16bc1d749fc2cb6f795363362d (diff) |
cli: Validate invalid slave url
This patch validates the invalid slave url
in cli itself and throws appropriate error.
fixes: bz#1098991
Change-Id: I278e2a04a4d619d2c2d1db0dd56ab5bdf7e7f469
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r-- | cli/src/cli.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h index 542aedd66f7..7166991a7ff 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -266,7 +266,8 @@ int32_t cli_cmd_volume_reset_parse(const char **words, int wordcount, dict_t **opt); int32_t -cli_cmd_gsync_set_parse(const char **words, int wordcount, dict_t **opt); +cli_cmd_gsync_set_parse(const char **words, int wordcount, dict_t **opt, + char **errstr); int32_t cli_cmd_quota_parse(const char **words, int wordcount, dict_t **opt); |