aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-10 11:06:32 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-10 11:06:32 +0200
commit6ae8bbeb133677af3e44e480dd465fa33c6017be (patch)
tree374d6ecc8780e4a927aaa5d92a4d72f03124c063 /src/api
parent8bbd0db43d568f10f19e5d68c7ef68b5ed2dad35 (diff)
downloadgarage-6ae8bbeb133677af3e44e480dd465fa33c6017be.tar.gz
garage-6ae8bbeb133677af3e44e480dd465fa33c6017be.zip
typo in error message
Diffstat (limited to 'src/api')
-rw-r--r--src/api/s3/put.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/s3/put.rs b/src/api/s3/put.rs
index ab56e237..bbe7fd34 100644
--- a/src/api/s3/put.rs
+++ b/src/api/s3/put.rs
@@ -260,7 +260,7 @@ async fn check_quotas(
let current_size = counters.get(BYTES).cloned().unwrap_or_default();
if cnt_size_diff > 0 && current_size + cnt_size_diff > ms as i64 {
return Err(Error::forbidden(format!(
- "Bucket size quota is reached, maximum total sie of objects for this bucket: {}. The bucket is already {} bytes, and this object would add {} bytes.",
+ "Bucket size quota is reached, maximum total size of objects for this bucket: {}. The bucket is already {} bytes, and this object would add {} bytes.",
ms, current_size, size
)));
}