couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject couchdb-setup git commit: Use _nodes db
Date Sat, 04 Apr 2015 19:52:53 GMT
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 <kxepal@apache.org>
Authored: Sat Apr 4 22:52:15 2015 +0300
Committer: Alexander Shorin <kxepal@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 = [],


Mime
View raw message