summaryrefslogtreecommitdiff
path: root/src/couchdb
diff options
context:
space:
mode:
Diffstat (limited to 'src/couchdb')
-rw-r--r--src/couchdb/couch_replication_manager.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_replication_manager.erl b/src/couchdb/couch_replication_manager.erl
index b3fc3e3c..b3c6db11 100644
--- a/src/couchdb/couch_replication_manager.erl
+++ b/src/couchdb/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`)",