diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-07 17:11:55 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-07 17:11:55 +0200 |
commit | cdc03da0b83aeb39d1b16aef252d6b18c5bf1fa9 (patch) | |
tree | 104cf444e5731671736d1402d3205cd591a8b9b3 | |
parent | 1d408d52b9abd2705f68bbdb4c28b7990d147e53 (diff) | |
download | garage-cdc03da0b83aeb39d1b16aef252d6b18c5bf1fa9.tar.gz garage-cdc03da0b83aeb39d1b16aef252d6b18c5bf1fa9.zip |
make things more like before
-rw-r--r-- | src/block/metrics.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/metrics.rs b/src/block/metrics.rs index 1fc0962a..477add66 100644 --- a/src/block/metrics.rs +++ b/src/block/metrics.rs @@ -28,7 +28,7 @@ impl BlockManagerMetrics { Self { _resync_queue_len: meter .u64_value_observer("block.resync_queue_length", move |observer| { - observer.observe(resync_queue.len() as u64, &[]); + observer.observe(resync_queue.len() as u64, &[]) }) .with_description( "Number of block hashes queued for local check and possible resync", @@ -36,7 +36,7 @@ impl BlockManagerMetrics { .init(), _resync_errored_blocks: meter .u64_value_observer("block.resync_errored_blocks", move |observer| { - observer.observe(resync_errors.len() as u64, &[]); + observer.observe(resync_errors.len() as u64, &[]) }) .with_description("Number of block hashes whose last resync resulted in an error") .init(), |