couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject couchdb-cassim git commit: Use config:get_boolean
Date Tue, 21 Jul 2015 20:35:40 GMT
Repository: couchdb-cassim
Updated Branches:
  refs/heads/add-manual-migration-logic 0d081d4d7 -> 4c820a58b


Use config:get_boolean


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

Branch: refs/heads/add-manual-migration-logic
Commit: 4c820a58bc80119b64f7e28a0c762a79dd379ff3
Parents: 0d081d4
Author: Russell Branca <chewbranca@apache.org>
Authored: Tue Jul 21 20:35:25 2015 +0000
Committer: Russell Branca <chewbranca@apache.org>
Committed: Tue Jul 21 20:35:25 2015 +0000

----------------------------------------------------------------------
 src/cassim.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-cassim/blob/4c820a58/src/cassim.erl
----------------------------------------------------------------------
diff --git a/src/cassim.erl b/src/cassim.erl
index 7c5a0f2..65d942c 100644
--- a/src/cassim.erl
+++ b/src/cassim.erl
@@ -51,7 +51,7 @@ is_active() ->
 
 
 is_enabled() ->
-    config:get("cassim", "enable", "false") == "true".
+    config:get_boolean("cassim", "enable", false).
 
 
 metadata_db_exists() ->


Mime
View raw message