aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-10-18 16:38:26 +0200
committerAlex Auvolat <alex@adnab.me>2023-10-18 16:38:26 +0200
commitd146cdd5b66ca1d3ed65ce93ca42c6db22defc09 (patch)
tree170e32d90f1fbc14def4ea5ca0bc3d013037b223 /src
parent3d6ed63824ac2190ba0522d897ef9addb8823140 (diff)
downloadgarage-d146cdd5b66ca1d3ed65ce93ca42c6db22defc09.tar.gz
garage-d146cdd5b66ca1d3ed65ce93ca42c6db22defc09.zip
cargo fmt
Diffstat (limited to 'src')
-rw-r--r--src/api/s3/multipart.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/s3/multipart.rs b/src/api/s3/multipart.rs
index b6001142..978ad9cf 100644
--- a/src/api/s3/multipart.rs
+++ b/src/api/s3/multipart.rs
@@ -233,7 +233,8 @@ pub async fn handle_complete_multipart_upload(
// Get object and multipart upload
let key = key.to_string();
- let (object, mut object_version, mpu) = get_upload(&garage, &bucket.id, &key, &upload_id).await?;
+ let (object, mut object_version, mpu) =
+ get_upload(&garage, &bucket.id, &key, &upload_id).await?;
if mpu.parts.is_empty() {
return Err(Error::bad_request("No data was uploaded"));