summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2018-04-02 17:24:57 -0400
committerNick Vatamaniuc <nickva@users.noreply.github.com>2018-04-02 22:01:26 -0400
commit948a1311cd6c4a4ad68254f6358afe207ab8a767 (patch)
tree14e0157b814c6e2a4107eaccf424e4d30a537f94
parent8f38625f26753471b7c90f40f7f20e209b0cc236 (diff)
downloadcouchdb-948a1311cd6c4a4ad68254f6358afe207ab8a767.tar.gz
Fix typo in node local _replicate handler
Dialyzer run discovered: ``` Unknown function couch_replicator_httpd_utils:validate_rep_props/1 ``` Indeed, the function should be ``` couch_replicator_httpd_util:validate_rep_props/1 ```
-rw-r--r--src/couch_replicator/src/couch_replicator_httpd.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch_replicator/src/couch_replicator_httpd.erl b/src/couch_replicator/src/couch_replicator_httpd.erl
index ebab1a614..abd9f7fd0 100644
--- a/src/couch_replicator/src/couch_replicator_httpd.erl
+++ b/src/couch_replicator/src/couch_replicator_httpd.erl
@@ -91,7 +91,7 @@ handle_scheduler_req(Req) ->
handle_req(#httpd{method = 'POST', user_ctx = UserCtx} = Req) ->
couch_httpd:validate_ctype(Req, "application/json"),
RepDoc = {Props} = couch_httpd:json_body_obj(Req),
- couch_replicator_httpd_utils:validate_rep_props(Props),
+ couch_replicator_httpd_util:validate_rep_props(Props),
case couch_replicator:replicate(RepDoc, UserCtx) of
{error, {Error, Reason}} ->
send_json(