diff options
author | Quentin <quentin@deuxfleurs.fr> | 2020-11-21 17:50:19 +0100 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2020-11-21 17:50:19 +0100 |
commit | a88fd49f71844f04013970a678201a65ab89fb19 (patch) | |
tree | 871473ffde04ba437f0681482a0d76793bb1ef39 /src/api | |
parent | 78be2b363f6747f8dae9c8c86e96c88ae8a054b3 (diff) | |
download | garage-a88fd49f71844f04013970a678201a65ab89fb19.tar.gz garage-a88fd49f71844f04013970a678201a65ab89fb19.zip |
Use handle_get
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/s3_put.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/s3_put.rs b/src/api/s3_put.rs index 72613323..a1681d77 100644 --- a/src/api/s3_put.rs +++ b/src/api/s3_put.rs @@ -322,7 +322,7 @@ pub async fn handle_put_part( let (object, first_block) = futures::try_join!(get_object_fut, get_first_block_fut)?; // Check object is valid and multipart block can be accepted - let first_block = first_block.ok_or(Error::BadRequest(format!("Empty body")))?; + let first_block = first_block.ok_or(Error::BadRequest(format!("Empty body")))?; let object = object.ok_or(Error::BadRequest(format!("Object not found")))?; if !object |