You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2015/07/21 22:35:40 UTC

couchdb-cassim git commit: Use config:get_boolean

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 <ch...@apache.org>
Authored: Tue Jul 21 20:35:25 2015 +0000
Committer: Russell Branca <ch...@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() ->