From dc50fa3b342df0db3dd59370910a02b2cf2d30f7 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 11 Nov 2022 16:56:56 +0100 Subject: [PATCH] Fix typo in admin API on BucketInfo --- src/api/admin/bucket.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/admin/bucket.rs b/src/api/admin/bucket.rs index ac8a8a40..65034852 100644 --- a/src/api/admin/bucket.rs +++ b/src/api/admin/bucket.rs @@ -210,7 +210,7 @@ async fn bucket_info_results( .collect::>(), objects: counters.get(OBJECTS).cloned().unwrap_or_default(), bytes: counters.get(BYTES).cloned().unwrap_or_default(), - unfinshed_uploads: counters + unfinished_uploads: counters .get(UNFINISHED_UPLOADS) .cloned() .unwrap_or_default(), @@ -234,7 +234,7 @@ struct GetBucketInfoResult { keys: Vec, objects: i64, bytes: i64, - unfinshed_uploads: i64, + unfinished_uploads: i64, quotas: ApiBucketQuotas, }