aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-11-11 16:56:56 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-11-11 16:56:56 +0100
commitdc50fa3b342df0db3dd59370910a02b2cf2d30f7 (patch)
tree9ba126a8dbb3c7e172aa8abe155172835c1696f4
parenta976c9190cbd60165cd852f0fcb6398cb88501e7 (diff)
downloadgarage-dc50fa3b342df0db3dd59370910a02b2cf2d30f7.tar.gz
garage-dc50fa3b342df0db3dd59370910a02b2cf2d30f7.zip
Fix typo in admin API on BucketInfo
-rw-r--r--src/api/admin/bucket.rs4
1 files 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::<Vec<_>>(),
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<GetBucketInfoKey>,
objects: i64,
bytes: i64,
- unfinshed_uploads: i64,
+ unfinished_uploads: i64,
quotas: ApiBucketQuotas,
}