Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Use _nodes db
  • Loading branch information
kxepal committed Apr 4, 2015
1 parent deeb073 commit 127e85adf20a363b524bb639e8375d4e1ca6bdde
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 = [],

0 comments on commit 127e85a

Please sign in to comment.