aboutsummaryrefslogtreecommitdiff
path: root/src/api/s3_delete.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-07-08 13:33:02 +0200
committerAlex Auvolat <alex@adnab.me>2020-07-08 13:33:02 +0200
commit86fb7bbba5aefc797f359bd84676637f0232b709 (patch)
tree22e90454f0c5ccd50a0e9dbdeec516ddd7955edf /src/api/s3_delete.rs
parentf22ecb60a8e1848de95e1bd3104b0ceec7058f0c (diff)
downloadgarage-86fb7bbba5aefc797f359bd84676637f0232b709.tar.gz
garage-86fb7bbba5aefc797f359bd84676637f0232b709.zip
Apply cargo fmt; add trace output when request signature is bad
Diffstat (limited to 'src/api/s3_delete.rs')
-rw-r--r--src/api/s3_delete.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/api/s3_delete.rs b/src/api/s3_delete.rs
index 91e5e20d..949ad6a1 100644
--- a/src/api/s3_delete.rs
+++ b/src/api/s3_delete.rs
@@ -129,9 +129,7 @@ pub async fn handle_delete_objects(
writeln!(&mut retxml, "</DeleteObjectsOutput>").unwrap();
- Ok(Response::new(Body::from(
- retxml.into_bytes(),
- )))
+ Ok(Response::new(Body::from(retxml.into_bytes())))
}
struct DeleteRequest {