aboutsummaryrefslogtreecommitdiff
path: root/src/garage/admin_rpc.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-03-15 19:51:16 +0100
committerAlex Auvolat <alex@adnab.me>2021-03-15 19:51:16 +0100
commit667e4e72a8e64a094d57ceeb6442cef08f1ef0e1 (patch)
tree670dfb3eb220ad5d90cc62782cb9fc9a7cc3a648 /src/garage/admin_rpc.rs
parent642bed601f9b5f8a0cf3e99223235e6b3eb33c0a (diff)
downloadgarage-667e4e72a8e64a094d57ceeb6442cef08f1ef0e1.tar.gz
garage-667e4e72a8e64a094d57ceeb6442cef08f1ef0e1.zip
Small fixes
Diffstat (limited to 'src/garage/admin_rpc.rs')
-rw-r--r--src/garage/admin_rpc.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/garage/admin_rpc.rs b/src/garage/admin_rpc.rs
index 07c1b582..40674e75 100644
--- a/src/garage/admin_rpc.rs
+++ b/src/garage/admin_rpc.rs
@@ -432,13 +432,13 @@ impl AdminRpcHandler {
writeln!(
&mut ret,
" number of blocks: {}",
- self.garage.block_manager.rc.len()
+ self.garage.block_manager.rc_len()
)
.unwrap();
writeln!(
&mut ret,
" resync queue length: {}",
- self.garage.block_manager.resync_queue.len()
+ self.garage.block_manager.resync_queue_len()
)
.unwrap();
@@ -460,19 +460,19 @@ impl AdminRpcHandler {
writeln!(
to,
" Merkle updater todo queue length: {}",
- t.data.merkle_updater.todo.len()
+ t.data.merkle_updater.todo_len()
)
.unwrap();
writeln!(
to,
" Merkle tree size: {}",
- t.data.merkle_updater.merkle_tree.len()
+ t.data.merkle_updater.merkle_tree_len()
)
.unwrap();
writeln!(
to,
" GC todo queue length: {}",
- t.data.gc_todo.len()
+ t.data.gc_todo_len()
)
.unwrap();
Ok(())