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>
This commit is contained in:
parent
d9c6513289
commit
7c6cf65470
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user