You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/02/06 18:39:59 UTC
[17/50] [abbrv] couch commit: updated refs/heads/import-rcouch to
e2dbc79
fix typo in error message
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/ae8612b2
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/ae8612b2
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/ae8612b2
Branch: refs/heads/import-rcouch
Commit: ae8612b2d598cc4cbecb439efe7bf4ef59b4789b
Parents: 674a564
Author: Jan Lehnardt <ja...@apache.org>
Authored: Mon Dec 9 20:00:44 2013 +0100
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Mon Dec 9 20:01:00 2013 +0100
----------------------------------------------------------------------
couch_httpd_stats_handlers.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/ae8612b2/couch_httpd_stats_handlers.erl
----------------------------------------------------------------------
diff --git a/couch_httpd_stats_handlers.erl b/couch_httpd_stats_handlers.erl
index 41aeaed..d6973f6 100644
--- a/couch_httpd_stats_handlers.erl
+++ b/couch_httpd_stats_handlers.erl
@@ -25,7 +25,7 @@ handle_stats_req(#httpd{method='GET', path_parts=[_]}=Req) ->
send_json(Req, couch_stats_aggregator:all(range(Req)));
handle_stats_req(#httpd{method='GET', path_parts=[_, _Mod]}) ->
- throw({bad_request, <<"Stat names must have exactly to parts.">>});
+ throw({bad_request, <<"Stat names must have exactly two parts.">>});
handle_stats_req(#httpd{method='GET', path_parts=[_, Mod, Key]}=Req) ->
flush(Req),