forked from Deuxfleurs/garage
Revert useless thing
This commit is contained in:
parent
8033bdb0b4
commit
d7736cb614
1 changed files with 1 additions and 3 deletions
|
@ -118,9 +118,7 @@ impl ApiHandler for S3ApiServer {
|
||||||
return handle_post_object(garage, req, bucket_name.unwrap()).await;
|
return handle_post_object(garage, req, bucket_name.unwrap()).await;
|
||||||
}
|
}
|
||||||
if let Endpoint::Options = endpoint {
|
if let Endpoint::Options = endpoint {
|
||||||
return handle_options_s3api(garage, &req, bucket_name)
|
return handle_options_s3api(garage, &req, bucket_name).await;
|
||||||
.await
|
|
||||||
.map_err(Error::from);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let (api_key, mut content_sha256) = check_payload_signature(&garage, "s3", &req).await?;
|
let (api_key, mut content_sha256) = check_payload_signature(&garage, "s3", &req).await?;
|
||||||
|
|
Loading…
Reference in a new issue