You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/04/04 21:52:53 UTC
couchdb-setup git commit: Use _nodes db
Repository: couchdb-setup
Updated Branches:
refs/heads/master deeb073ad -> 127e85adf
Use _nodes db
Project: http://git-wip-us.apache.org/repos/asf/couchdb-setup/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-setup/commit/127e85ad
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-setup/tree/127e85ad
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-setup/diff/127e85ad
Branch: refs/heads/master
Commit: 127e85adf20a363b524bb639e8375d4e1ca6bdde
Parents: deeb073
Author: Alexander Shorin <kx...@apache.org>
Authored: Sat Apr 4 22:52:15 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Sat Apr 4 22:52:15 2015 +0300
----------------------------------------------------------------------
src/setup.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-setup/blob/127e85ad/src/setup.erl
----------------------------------------------------------------------
diff --git a/src/setup.erl b/src/setup.erl
index b04b0ba..95b2a41 100644
--- a/src/setup.erl
+++ b/src/setup.erl
@@ -168,7 +168,7 @@ get_port(Port) when is_binary(Port) ->
Port.
create_node_doc(Host, Port) ->
- {ok, Db} = couch_db:open_int(<<"nodes">>, []),
+ {ok, Db} = couch_db:open_int(<<"_nodes">>, []),
Name = get_name(Port),
Doc = {[{<<"_id">>, <<Name/binary, "@", Host/binary>>}]},
Options = [],