aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/cmd.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-16 16:17:51 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-04 12:46:41 +0100
commit5db600e2316b80102e3fd4df9e8974c9586aec9c (patch)
tree88089cba0721cdcc293ddb3b23b0f374e993fe89 /src/garage/cli/cmd.rs
parent4d30e62db456097563c574b9dfd22b138d700087 (diff)
downloadgarage-5db600e2316b80102e3fd4df9e8974c9586aec9c.tar.gz
garage-5db600e2316b80102e3fd4df9e8974c9586aec9c.zip
More complete output to bucket info and key info
Diffstat (limited to 'src/garage/cli/cmd.rs')
-rw-r--r--src/garage/cli/cmd.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/garage/cli/cmd.rs b/src/garage/cli/cmd.rs
index b65fea02..1c64f9b5 100644
--- a/src/garage/cli/cmd.rs
+++ b/src/garage/cli/cmd.rs
@@ -173,8 +173,8 @@ pub async fn cmd_admin(
format_table(table);
println!("Buckets that don't have a global alias (i.e. that only exist in the namespace of an access key) are not shown.");
}
- AdminRpc::BucketInfo(bucket) => {
- print_bucket_info(&bucket);
+ AdminRpc::BucketInfo(bucket, rk) => {
+ print_bucket_info(&bucket, &rk);
}
AdminRpc::KeyList(kl) => {
println!("List of keys:");
@@ -182,8 +182,8 @@ pub async fn cmd_admin(
println!("{}\t{}", key.0, key.1);
}
}
- AdminRpc::KeyInfo(key) => {
- print_key_info(&key);
+ AdminRpc::KeyInfo(key, rb) => {
+ print_key_info(&key, &rb);
}
r => {
error!("Unexpected response: {:?}", r);