You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/04/09 04:35:46 UTC

[couchdb] branch 63012-scheduler updated: [fixup] remove import from _replicator_ids

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch 63012-scheduler
in repository https://gitbox.apache.org/repos/asf/couchdb.git

The following commit(s) were added to refs/heads/63012-scheduler by this push:
       new  6679558   [fixup] remove import from _replicator_ids
6679558 is described below

commit 667955875af393e44f17086a562a2da6c44eac77
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Sun Apr 9 00:35:40 2017 -0400

    [fixup] remove import from _replicator_ids
---
 src/couch_replicator/src/couch_replicator_ids.erl | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/couch_replicator/src/couch_replicator_ids.erl b/src/couch_replicator/src/couch_replicator_ids.erl
index 565ed9d..55b7883 100644
--- a/src/couch_replicator/src/couch_replicator_ids.erl
+++ b/src/couch_replicator/src/couch_replicator_ids.erl
@@ -18,11 +18,6 @@
 -include("couch_replicator_api_wrap.hrl").
 -include("couch_replicator.hrl").
 
--import(couch_util, [
-    get_value/2,
-    get_value/3
-]).
-
 % replication_id/1 and replication_id/2 will attempt to fetch
 % filter code for filtered replications. If fetching or parsing
 % of the remotely fetched filter code fails they throw:
@@ -108,7 +103,7 @@ maybe_append_filters(Base,
 maybe_append_options(Options, RepOptions) ->
     lists:foldl(fun(Option, Acc) ->
         Acc ++
-        case get_value(Option, RepOptions, false) of
+        case couch_util:get_value(Option, RepOptions, false) of
         true ->
             "+" ++ atom_to_list(Option);
         false ->

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].