summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fabric_doc_update.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fabric_doc_update.erl b/src/fabric_doc_update.erl
index 5c4cb132..f0fcf112 100644
--- a/src/fabric_doc_update.erl
+++ b/src/fabric_doc_update.erl
@@ -6,6 +6,8 @@
-include_lib("mem3/include/mem3.hrl").
-include_lib("couch/include/couch_db.hrl").
+go(_, [], _) ->
+ {ok, []};
go(DbName, AllDocs, Opts) ->
validate_atomic_update(DbName, AllDocs, lists:member(all_or_nothing, Opts)),
Options = lists:delete(all_or_nothing, Opts),