couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikewall...@apache.org
Subject fabric commit: updated refs/heads/merge-diff-from-cloudant-fork to 19c273a
Date Tue, 09 Jun 2015 17:07:22 GMT
Repository: couchdb-fabric
Updated Branches:
  refs/heads/merge-diff-from-cloudant-fork dd2a27b99 -> 19c273ac5 (forced update)


Module-wide s/proplists:get_value/couch_util:get_value/


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

Branch: refs/heads/merge-diff-from-cloudant-fork
Commit: 19c273ac54e8f1bec81be3b74c443ecafa01e599
Parents: ece2b2e
Author: Mike Wallace <mikewallace@apache.org>
Authored: Fri Jun 5 17:01:13 2015 +0100
Committer: Mike Wallace <mikewallace@apache.org>
Committed: Tue Jun 9 18:05:08 2015 +0100

----------------------------------------------------------------------
 src/fabric.erl          | 2 +-
 src/fabric_db_meta.erl  | 2 +-
 src/fabric_doc_open.erl | 2 +-
 src/fabric_rpc.erl      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/19c273ac/src/fabric.erl
----------------------------------------------------------------------
diff --git a/src/fabric.erl b/src/fabric.erl
index c3a95fb..1d92f91 100644
--- a/src/fabric.erl
+++ b/src/fabric.erl
@@ -162,7 +162,7 @@ get_all_security(DbName, Options) ->
     {error, any()} |
     {error, any() | any()}.
 open_doc(DbName, Id, Options) ->
-    case proplists:get_value(doc_info, Options) of
+    case couch_util:get_value(doc_info, Options) of
     undefined ->
         fabric_doc_open:go(dbname(DbName), docid(Id), opts(Options));
     Else ->

http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/19c273ac/src/fabric_db_meta.erl
----------------------------------------------------------------------
diff --git a/src/fabric_db_meta.erl b/src/fabric_db_meta.erl
index 367ef06..f3ca60b 100644
--- a/src/fabric_db_meta.erl
+++ b/src/fabric_db_meta.erl
@@ -121,7 +121,7 @@ check_sec_set_int(NumWorkers, SetWorkers) ->
 
 
 get_all_security(DbName, Options) ->
-    Shards = case proplists:get_value(shards, Options) of
+    Shards = case couch_util:get_value(shards, Options) of
         Shards0 when is_list(Shards0) -> Shards0;
         _ -> mem3:shards(DbName)
     end,

http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/19c273ac/src/fabric_doc_open.erl
----------------------------------------------------------------------
diff --git a/src/fabric_doc_open.erl b/src/fabric_doc_open.erl
index 1607946..ac3cbdb 100644
--- a/src/fabric_doc_open.erl
+++ b/src/fabric_doc_open.erl
@@ -30,7 +30,7 @@
 
 
 go(DbName, Id, Options) ->
-    Handler = case proplists:get_value(doc_info, Options) of
+    Handler = case couch_util:get_value(doc_info, Options) of
     true -> get_doc_info;
     full -> get_full_doc_info;
     undefined -> open_doc

http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/19c273ac/src/fabric_rpc.erl
----------------------------------------------------------------------
diff --git a/src/fabric_rpc.erl b/src/fabric_rpc.erl
index 057dec3..9ecb127 100644
--- a/src/fabric_rpc.erl
+++ b/src/fabric_rpc.erl
@@ -203,7 +203,7 @@ get_missing_revs(DbName, IdRevsList, Options) ->
     end).
 
 update_docs(DbName, Docs0, Options) ->
-    case proplists:get_value(replicated_changes, Options) of
+    case couch_util:get_value(replicated_changes, Options) of
     true ->
         X = replicated_changes;
     _ ->


Mime
View raw message