summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/couchdb/couch_httpd_replicator.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/couchdb/couch_httpd_replicator.erl b/src/couchdb/couch_httpd_replicator.erl
index fb1e3505d..47de4765e 100644
--- a/src/couchdb/couch_httpd_replicator.erl
+++ b/src/couchdb/couch_httpd_replicator.erl
@@ -58,8 +58,10 @@ validate_rep_props([]) ->
validate_rep_props([{<<"query_params">>, {Params}}|Rest]) ->
lists:foreach(fun
({_,V}) when is_binary(V) -> ok;
- ({K,_}) -> throw({bad_request,
- <<K/binary," value must be a string.">>})
+ % Disabled to support the iris-monitor replicator
+ %({K,_}) -> throw({bad_request,
+ % <<K/binary," value must be a string.">>})
+ ({K,_}) -> ok
end, Params),
validate_rep_props(Rest);
validate_rep_props([_|Rest]) ->