summaryrefslogtreecommitdiff
path: root/apps/couch/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/couch/src')
-rw-r--r--apps/couch/src/couch_replication_manager.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/couch/src/couch_replication_manager.erl b/apps/couch/src/couch_replication_manager.erl
index b3fc3e3c..b3c6db11 100644
--- a/apps/couch/src/couch_replication_manager.erl
+++ b/apps/couch/src/couch_replication_manager.erl
@@ -75,7 +75,7 @@ replication_completed(RepId) ->
case rep_state(RepId) of
nil ->
ok;
- #rep_state{doc_id = DocId} = St ->
+ #rep_state{doc_id = DocId} ->
update_rep_doc(DocId, [{<<"_replication_state">>, <<"completed">>}]),
ok = gen_server:call(?MODULE, {rep_complete, RepId}, infinity),
?LOG_INFO("Replication `~s` finished (triggered by document `~s`)",