Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Commit

Permalink
Use _nodes db
Browse files Browse the repository at this point in the history
  • Loading branch information
kxepal committed Apr 4, 2015
1 parent deeb073 commit 127e85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup.erl
Expand Up @@ -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 = [],
Expand Down

0 comments on commit 127e85a

Please sign in to comment.