diff options
author | Alex Auvolat <alex@adnab.me> | 2021-03-15 19:51:16 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-03-15 19:51:16 +0100 |
commit | 667e4e72a8e64a094d57ceeb6442cef08f1ef0e1 (patch) | |
tree | 670dfb3eb220ad5d90cc62782cb9fc9a7cc3a648 /src/garage | |
parent | 642bed601f9b5f8a0cf3e99223235e6b3eb33c0a (diff) | |
download | garage-667e4e72a8e64a094d57ceeb6442cef08f1ef0e1.tar.gz garage-667e4e72a8e64a094d57ceeb6442cef08f1ef0e1.zip |
Small fixes
Diffstat (limited to 'src/garage')
-rw-r--r-- | src/garage/admin_rpc.rs | 10 |
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(()) |