diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-06-21 13:15:59 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-12 11:18:47 -0400 |
commit | 46a2ebd50abc40a8a81a4ae6b4c48f0c678daadf (patch) | |
tree | 12db31fb03a9584afa5393dafc51d1456aa64907 | |
parent | de56d07198d5b52c461a0eef4c91c9a02d433310 (diff) |
support for cluster -> cluster replication
-rw-r--r-- | src/chttpd_misc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chttpd_misc.erl b/src/chttpd_misc.erl index 6a3261c6..535932ae 100644 --- a/src/chttpd_misc.erl +++ b/src/chttpd_misc.erl @@ -105,7 +105,7 @@ handle_task_status_req(Req) -> handle_replicate_req(#httpd{method='POST'}=Req) -> PostBody = get(post_body), - try ?COUCH:replicate_db(PostBody, Req#httpd.user_ctx) of + try showroom_api:replicate_db(PostBody, Req#httpd.user_ctx) of {ok, {continuous, RepId}} -> send_json(Req, 202, {[{ok, true}, {<<"_local_id">>, RepId}]}); {ok, {JsonResults}} -> |