clippy
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Trinity Pointard 2021-11-11 15:37:48 +01:00
parent 2e70257d29
commit 5bd9329391

View file

@ -98,7 +98,7 @@ async fn handler_inner(garage: Arc<Garage>, req: Request<Body>) -> Result<Respon
.s3_api .s3_api
.root_domain .root_domain
.as_ref() .as_ref()
.and_then(|root_domain| host_to_bucket(&host, &root_domain)); .and_then(|root_domain| host_to_bucket(&host, root_domain));
if path == "/" && bucket.is_none() { if path == "/" && bucket.is_none() {
return handle_list_buckets(&api_key); return handle_list_buckets(&api_key);