You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2017/06/03 09:39:15 UTC
[2/4] couchdb-setup git commit: use config:setineger/3
use config:setineger/3
Project: http://git-wip-us.apache.org/repos/asf/couchdb-setup/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-setup/commit/dd68945a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-setup/tree/dd68945a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-setup/diff/dd68945a
Branch: refs/heads/master
Commit: dd68945a20c9662f0f8912312c2320195c470a00
Parents: 75a7682
Author: Robert Kowalski <ro...@apache.org>
Authored: Fri Jul 24 16:10:41 2015 +0200
Committer: Robert Kowalski <ro...@apache.org>
Committed: Fri Jul 24 16:10:41 2015 +0200
----------------------------------------------------------------------
src/setup.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-setup/blob/dd68945a/src/setup.erl
----------------------------------------------------------------------
diff --git a/src/setup.erl b/src/setup.erl
index 4816309..a456a74 100644
--- a/src/setup.erl
+++ b/src/setup.erl
@@ -142,7 +142,7 @@ enable_cluster_int(Options, no) ->
NodeCount = couch_util:get_value(node_count, Options),
ok = require_clustersize(NodeCount),
- config:set("cluster", "n", integer_to_list(NodeCount)),
+ config:set_integer("cluster", "n", NodeCount),
Port = proplists:get_value(port, Options),
case Port of