diff options
author | Nick Vatamaniuc <vatamane@apache.org> | 2017-05-03 13:32:12 -0400 |
---|---|---|
committer | Nick Vatamaniuc <vatamane@apache.org> | 2017-05-03 13:32:12 -0400 |
commit | f9e2e5a4b8e986343695082a3ccc4a470446e2bb (patch) | |
tree | 41de89f6126e5701a0ec4088107fe5346f7b8c6e | |
parent | ecb67e300bf53b797034c555abe9adacab77ab0c (diff) | |
download | couchdb-f9e2e5a4b8e986343695082a3ccc4a470446e2bb.tar.gz |
Fix `badarg` when querying replicator's _scheduler/docs endpoint
Jira: COUCHDB-3324
-rw-r--r-- | src/couch_replicator/src/couch_replicator.erl | 2 |
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 |