Fix typo in admin API on BucketInfo

This commit is contained in:
Quentin Dufour 2022-11-11 16:56:56 +01:00
parent a976c9190c
commit dc50fa3b34
No known key found for this signature in database
GPG key ID: E9602264D639FF68

View file

@ -210,7 +210,7 @@ async fn bucket_info_results(
.collect::<Vec<_>>(), .collect::<Vec<_>>(),
objects: counters.get(OBJECTS).cloned().unwrap_or_default(), objects: counters.get(OBJECTS).cloned().unwrap_or_default(),
bytes: counters.get(BYTES).cloned().unwrap_or_default(), bytes: counters.get(BYTES).cloned().unwrap_or_default(),
unfinshed_uploads: counters unfinished_uploads: counters
.get(UNFINISHED_UPLOADS) .get(UNFINISHED_UPLOADS)
.cloned() .cloned()
.unwrap_or_default(), .unwrap_or_default(),
@ -234,7 +234,7 @@ struct GetBucketInfoResult {
keys: Vec<GetBucketInfoKey>, keys: Vec<GetBucketInfoKey>,
objects: i64, objects: i64,
bytes: i64, bytes: i64,
unfinshed_uploads: i64, unfinished_uploads: i64,
quotas: ApiBucketQuotas, quotas: ApiBucketQuotas,
} }