You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2015/06/02 21:35:47 UTC

[16/50] couch commit: updated refs/heads/2080-port-cors-to-chttpd to 529339b

Fix nodes_db config option name


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

Branch: refs/heads/2080-port-cors-to-chttpd
Commit: d0e8d140768e6d02e2aeb5171ce4f277e546a9cf
Parents: 952a41c
Author: Alexander Shorin <kx...@apache.org>
Authored: Mon Feb 23 17:57:35 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Mon Feb 23 17:57:35 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/d0e8d140/src/couch_server.erl
----------------------------------------------------------------------
diff --git a/src/couch_server.erl b/src/couch_server.erl
index 3057f18..8d016cf 100644
--- a/src/couch_server.erl
+++ b/src/couch_server.erl
@@ -120,7 +120,7 @@ maybe_add_sys_db_callbacks(DbName, Options) when is_binary(DbName) ->
     maybe_add_sys_db_callbacks(?b2l(DbName), Options);
 maybe_add_sys_db_callbacks(DbName, Options) ->
     DbsDbName = config:get("mem3", "shard_db", "dbs"),
-    NodesDbName = config:get("mem3", "shard_db", "nodes"),
+    NodesDbName = config:get("mem3", "nodes_db", "nodes"),
     IsReplicatorDb = DbName == config:get("replicator", "db", "_replicator") orelse
 	path_ends_with(DbName, <<"_replicator">>),
     IsUsersDb = DbName ==config:get("couch_httpd_auth", "authentication_db", "_users") orelse