diff options
author | Csaba Henk <csaba@gluster.com> | 2011-08-19 13:51:14 +0200 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-08-19 23:19:16 -0700 |
commit | 7c6cf654700fb05502591e84b2000bb5230283e2 (patch) | |
tree | 98785e43d2d5c46881a81c3ad553eb155ee6820b | |
parent | d9c6513289ca33204cdc110112ff8e45cbc8970a (diff) |
cli: remove bogus assertion
Since 86c818a9 (cli: taking my revenge ...) we cannot assert
an exact match for the op/subop keywords in the followup parser
functions. That is,
# gluster vol stat foo
is a valid invocation.
Change-Id: I3f7f410f64f440744141f458886e4bba8ceeca17
BUG: 3439
Reviewed-on: http://review.gluster.com/268
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
-rw-r--r-- | cli/src/cli-cmd-parser.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 9f35cc47e5b..af78a7c5b1d 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -1657,11 +1657,6 @@ cli_cmd_volume_status_parse (const char **words, int wordcount, GF_ASSERT (words); GF_ASSERT (options); - - GF_ASSERT ((strncmp(words[0], "volume", 6) == 0)); - GF_ASSERT ((strncmp(words[1], "status", 5) == 0)); - - dict = dict_new (); if (!dict) goto out; |