aboutsummaryrefslogtreecommitdiff
path: root/src/api/api_server.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-26 18:55:13 +0000
committerAlex Auvolat <alex@adnab.me>2020-04-26 18:55:13 +0000
commit9cb870f950504b142e2954d2e1eb76929aaf689f (patch)
treef63d8039ec33644f061add4dcf046717e0be2a75 /src/api/api_server.rs
parentea7e4748edb32bcbcf737dcf35322eb6496b3439 (diff)
downloadgarage-9cb870f950504b142e2954d2e1eb76929aaf689f.tar.gz
garage-9cb870f950504b142e2954d2e1eb76929aaf689f.zip
Prepare for multipart uploads
Diffstat (limited to 'src/api/api_server.rs')
-rw-r--r--src/api/api_server.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/api/api_server.rs b/src/api/api_server.rs
index 4413c7d2..37c95f92 100644
--- a/src/api/api_server.rs
+++ b/src/api/api_server.rs
@@ -134,10 +134,9 @@ async fn handler_inner(
.body(empty_body)
.unwrap();
Ok(response)
- },
+ }
&Method::DELETE => Err(Error::Forbidden(
- "Cannot delete buckets using S3 api, please talk to Garage directly"
- .into(),
+ "Cannot delete buckets using S3 api, please talk to Garage directly".into(),
)),
&Method::GET => {
let mut params = HashMap::new();