summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-08-19 13:51:14 +0200
committerVijay Bellur <vijay@gluster.com>2011-08-19 23:19:16 -0700
commit7c6cf654700fb05502591e84b2000bb5230283e2 (patch)
tree98785e43d2d5c46881a81c3ad553eb155ee6820b /cli
parentd9c6513289ca33204cdc110112ff8e45cbc8970a (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>
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-cmd-parser.c5
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;