aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/cmd.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-08 20:15:55 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-08 20:15:55 +0200
commit5b38f4cd26a9517172e7f2ce2f4e8b957c7c39c2 (patch)
tree8c9428c0bcc8f2c97a30d1eb30b71c7d67d2fbce /src/garage/cli/cmd.rs
parent17e111139308ba995fb782cbd1af555920cbbb81 (diff)
downloadgarage-5b38f4cd26a9517172e7f2ce2f4e8b957c7c39c2.tar.gz
garage-5b38f4cd26a9517172e7f2ce2f4e8b957c7c39c2.zip
Show bucket sizes in garage bucket list
Diffstat (limited to 'src/garage/cli/cmd.rs')
-rw-r--r--src/garage/cli/cmd.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/cli/cmd.rs b/src/garage/cli/cmd.rs
index 3a0bd956..e8e834e8 100644
--- a/src/garage/cli/cmd.rs
+++ b/src/garage/cli/cmd.rs
@@ -166,8 +166,8 @@ pub async fn cmd_admin(
AdminRpc::Ok(msg) => {
println!("{}", msg);
}
- AdminRpc::BucketList(bl) => {
- print_bucket_list(bl);
+ AdminRpc::BucketList { buckets, counters } => {
+ print_bucket_list(buckets, counters);
}
AdminRpc::BucketInfo {
bucket,