couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject chttpd commit: updated refs/heads/master to e18ceaf
Date Thu, 08 Oct 2015 10:01:55 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 976e68ab2 -> e18ceafe0


remove dead code

i keep running into this but it is not used anywhere

PR: #79
PR-URL: https://github.com/apache/couchdb-chttpd/pull/79
Reviewed-By: Robert Newson <rnewson@apache.org>


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

Branch: refs/heads/master
Commit: e18ceafe0c513d35d53eb527082184d3c3da8c7f
Parents: 976e68a
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Thu Oct 8 11:36:56 2015 +0200
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Thu Oct 8 12:01:39 2015 +0200

----------------------------------------------------------------------
 src/chttpd.erl                   | 2 --
 test/chttpd_error_info_tests.erl | 4 ----
 2 files changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/e18ceafe/src/chttpd.erl
----------------------------------------------------------------------
diff --git a/src/chttpd.erl b/src/chttpd.erl
index 1bd7e42..cbbebd0 100644
--- a/src/chttpd.erl
+++ b/src/chttpd.erl
@@ -797,8 +797,6 @@ error_info({unauthorized, Msg}) ->
 error_info(file_exists) ->
     {412, <<"file_exists">>, <<"The database could not be "
         "created, the file already exists.">>};
-error_info({r_quorum_not_met, Reason}) ->
-    {412, <<"read_quorum_not_met">>, Reason};
 error_info({error, {nodedown, Reason}}) ->
     {412, <<"nodedown">>, Reason};
 error_info({maintenance_mode, Node}) ->

http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/e18ceafe/test/chttpd_error_info_tests.erl
----------------------------------------------------------------------
diff --git a/test/chttpd_error_info_tests.erl b/test/chttpd_error_info_tests.erl
index 565482d..5c100d2 100644
--- a/test/chttpd_error_info_tests.erl
+++ b/test/chttpd_error_info_tests.erl
@@ -78,10 +78,6 @@ error_info_test() ->
              <<"The database could not be created, the file already exists.">>}
         },
         {
-            {r_quorum_not_met, Reason},
-            {412, <<"read_quorum_not_met">>, Reason}
-        },
-        {
             {error, {nodedown, Reason}}, {412, <<"nodedown">>, Reason}
         },
         {


Mime
View raw message