summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <nickva@users.noreply.github.com>2017-05-03 13:44:17 -0400
committerGitHub <noreply@github.com>2017-05-03 13:44:17 -0400
commit4e983fc23c0982e9a9fead510c00f74e3cdbd676 (patch)
tree41de89f6126e5701a0ec4088107fe5346f7b8c6e
parentecb67e300bf53b797034c555abe9adacab77ab0c (diff)
parentf9e2e5a4b8e986343695082a3ccc4a470446e2bb (diff)
downloadcouchdb-4e983fc23c0982e9a9fead510c00f74e3cdbd676.tar.gz
Merge pull request #503 from cloudant/couchdb-3324-fix-badarg
Fix `badarg` when querying replicator's _scheduler/docs endpoint
-rw-r--r--src/couch_replicator/src/couch_replicator.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch_replicator/src/couch_replicator.erl b/src/couch_replicator/src/couch_replicator.erl
index 68de11449..c67b37d19 100644
--- a/src/couch_replicator/src/couch_replicator.erl
+++ b/src/couch_replicator/src/couch_replicator.erl
@@ -189,7 +189,7 @@ active_doc(DbName, DocId) ->
{ok, DocInfo} ->
{ok, DocInfo};
{error, not_found} ->
- active_doc_rpc(DbName, DocId, Nodes -- Owner)
+ active_doc_rpc(DbName, DocId, Nodes -- [Owner])
end
catch
% Might be a local database