Repository: couchdb-fabric
Updated Branches:
  refs/heads/master 0e5b33d25 -> 472253f28


Remove configurable replicator db name

JIRA: COUCHDB-2954


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

Branch: refs/heads/master
Commit: 79f006408b97352d620bc4fb5700e29159eb4d49
Parents: 0e5b33d
Author: Nick Vatamaniuc <vatam...@gmail.com>
Authored: Fri Feb 26 16:11:39 2016 -0500
Committer: Nick Vatamaniuc <vatam...@gmail.com>
Committed: Mon Feb 29 13:48:08 2016 -0500

----------------------------------------------------------------------
 src/fabric_util.erl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/79f00640/src/fabric_util.erl
----------------------------------------------------------------------
diff --git a/src/fabric_util.erl b/src/fabric_util.erl
index 522a1d2..55661d3 100644
--- a/src/fabric_util.erl
+++ b/src/fabric_util.erl
@@ -287,8 +287,7 @@ remove_ancestors_test() ->
     ).
 
 is_replicator_db(DbName) ->
-    ConfigName = list_to_binary(config:get("replicator", "db", "_replicator")),
-    DbName == ConfigName orelse path_ends_with(DbName, <<"_replicator">>).
+    path_ends_with(DbName, <<"_replicator">>).
 
 is_users_db(DbName) ->
     ConfigName = list_to_binary(config:get(

Reply via email to