summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2020-09-14 10:40:27 -0400
committerNick Vatamaniuc <vatamane@apache.org>2020-09-14 10:40:27 -0400
commitd2efb366a32559bec5eee9b161eefcdfd6882fe6 (patch)
tree340db4c9b3f57e1d2998e63d6011b8b245ce81c8
parent327f62a68b186fa10dc613af0252b792eccd625e (diff)
downloadcouchdb-d2efb366a32559bec5eee9b161eefcdfd6882fe6.tar.gz
[fixup|_docs] put closing bracket on its own line
-rw-r--r--src/couch_replicator/src/couch_replicator_docs.erl9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/couch_replicator/src/couch_replicator_docs.erl b/src/couch_replicator/src/couch_replicator_docs.erl
index 02f6bc581..1d7ecd04a 100644
--- a/src/couch_replicator/src/couch_replicator_docs.erl
+++ b/src/couch_replicator/src/couch_replicator_docs.erl
@@ -40,7 +40,8 @@ remove_state_fields(DbName, DbUUID, DocId) ->
{?REPLICATION_STATE_TIME, undefined},
{?REPLICATION_STATE_REASON, undefined},
{?REPLICATION_ID, undefined},
- {?REPLICATION_STATS, undefined}]),
+ {?REPLICATION_STATS, undefined}
+ ]),
ok.
@@ -55,7 +56,8 @@ update_completed(DbName, DbUUID, DocId, #{} = Stats0) ->
{?REPLICATION_STATE_REASON, undefined},
{?REPLICATION_STATS, Stats}]),
couch_stats:increment_counter([couch_replicator, docs,
- completed_state_updates]),
+ completed_state_updates
+ ]),
ok.
@@ -70,7 +72,8 @@ update_failed(DbName, DbUUID, DocId, Error) ->
update_rep_doc(DbName, DbUUID, DocId, [
{?REPLICATION_STATE, ?ST_FAILED},
{?REPLICATION_STATS, undefined},
- {?REPLICATION_STATE_REASON, Reason}]),
+ {?REPLICATION_STATE_REASON, Reason}
+ ]),
couch_stats:increment_counter([couch_replicator, docs,
failed_state_updates]),
ok.