couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [07/50] [abbrv] couch commit: updated refs/heads/import-rcouch to e2dbc79
Date Thu, 06 Feb 2014 17:39:49 GMT
load plugin config from priv/default.d/*.ini


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/c7cd4b41
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/c7cd4b41
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/c7cd4b41

Branch: refs/heads/import-rcouch
Commit: c7cd4b41a8d765028991f32fdc606a96b055f05b
Parents: cfa092c
Author: Bob Ippolito <bob@redivi.com>
Authored: Thu Aug 1 01:47:50 2013 -0700
Committer: Jan Lehnardt <jan@apache.org>
Committed: Thu Oct 3 16:08:35 2013 +0200

----------------------------------------------------------------------
 couch_config.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/c7cd4b41/couch_config.erl
----------------------------------------------------------------------
diff --git a/couch_config.erl b/couch_config.erl
index 96fabba..22d7cdc 100644
--- a/couch_config.erl
+++ b/couch_config.erl
@@ -94,7 +94,7 @@ register(Fun, Pid) ->
 init(IniFiles) ->
     ets:new(?MODULE, [named_table, set, protected]),
     try
-        lists:map(fun(IniFile) ->
+        lists:foreach(fun(IniFile) ->
             {ok, ParsedIniValues} = parse_ini_file(IniFile),
             ets:insert(?MODULE, ParsedIniValues)
         end, IniFiles),


Mime
View raw message