diff options
author | Alex Auvolat <lx@deuxfleurs.fr> | 2025-01-31 18:34:57 +0100 |
---|---|---|
committer | Alex Auvolat <lx@deuxfleurs.fr> | 2025-01-31 18:34:57 +0100 |
commit | 84f1db91c4e53a8d0c037fd01adb695fd9400ed5 (patch) | |
tree | 9f80c50a55bcde668f487957b88cf00e682e4190 /src/api/s3/website.rs | |
parent | 9fa20d45bebab2a3f66b9721c3643dbd607d944d (diff) | |
download | garage-84f1db91c4e53a8d0c037fd01adb695fd9400ed5.tar.gz garage-84f1db91c4e53a8d0c037fd01adb695fd9400ed5.zip |
fix things up
Diffstat (limited to 'src/api/s3/website.rs')
-rw-r--r-- | src/api/s3/website.rs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/api/s3/website.rs b/src/api/s3/website.rs index 46decccf..b55bb345 100644 --- a/src/api/s3/website.rs +++ b/src/api/s3/website.rs @@ -4,14 +4,15 @@ use http_body_util::BodyExt; use hyper::{Request, Response, StatusCode}; use serde::{Deserialize, Serialize}; -use crate::api_server::{ReqBody, ResBody}; -use crate::error::*; -use crate::xml::{to_xml_with_header, xmlns_tag, IntValue, Value}; +use garage_model::bucket_table::*; +use garage_util::data::*; + use garage_api_common::helpers::*; use garage_api_common::signature::verify_signed_content; -use garage_model::bucket_table::*; -use garage_util::data::*; +use crate::api_server::{ReqBody, ResBody}; +use crate::error::*; +use crate::xml::{to_xml_with_header, xmlns_tag, IntValue, Value}; pub async fn handle_get_website(ctx: ReqCtx) -> Result<Response<ResBody>, Error> { let ReqCtx { bucket_params, .. } = ctx; |