You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2013/12/09 20:01:09 UTC

git commit: updated refs/heads/master to 05d2f29

Updated Branches:
  refs/heads/master 14cb47e54 -> 05d2f2983


fix typo in error message


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/05d2f298
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/05d2f298
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/05d2f298

Branch: refs/heads/master
Commit: 05d2f2983bb01522c8d9d9fd7735d20cc4bdb1a0
Parents: 14cb47e
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

----------------------------------------------------------------------
 src/couchdb/couch_httpd_stats_handlers.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/05d2f298/src/couchdb/couch_httpd_stats_handlers.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd_stats_handlers.erl b/src/couchdb/couch_httpd_stats_handlers.erl
index 41aeaed..d6973f6 100644
--- a/src/couchdb/couch_httpd_stats_handlers.erl
+++ b/src/couchdb/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),