diff options
author | Nick Vatamaniuc <vatamane@apache.org> | 2020-09-14 10:40:27 -0400 |
---|---|---|
committer | Nick Vatamaniuc <vatamane@apache.org> | 2020-09-14 10:40:27 -0400 |
commit | d2efb366a32559bec5eee9b161eefcdfd6882fe6 (patch) | |
tree | 340db4c9b3f57e1d2998e63d6011b8b245ce81c8 | |
parent | 327f62a68b186fa10dc613af0252b792eccd625e (diff) | |
download | couchdb-d2efb366a32559bec5eee9b161eefcdfd6882fe6.tar.gz |
[fixup|_docs] put closing bracket on its own line
-rw-r--r-- | src/couch_replicator/src/couch_replicator_docs.erl | 9 |
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. |