aboutsummaryrefslogtreecommitdiff
path: root/src/api/s3/router.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-11 10:27:40 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-11 10:27:40 +0200
commitf97a7845e9e9ab68c3b8afc0d1091765ed11439c (patch)
treea3be49b225bf902e3ed4c8cacb849faa84aa106c /src/api/s3/router.rs
parentbb6ec9ebd979c168091c7b00cc8b97da4a1a8dc9 (diff)
downloadgarage-f97a7845e9e9ab68c3b8afc0d1091765ed11439c.tar.gz
garage-f97a7845e9e9ab68c3b8afc0d1091765ed11439c.zip
Add API access key admin endpoints
Diffstat (limited to 'src/api/s3/router.rs')
-rw-r--r--src/api/s3/router.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/api/s3/router.rs b/src/api/s3/router.rs
index 0525c649..446ceb54 100644
--- a/src/api/s3/router.rs
+++ b/src/api/s3/router.rs
@@ -1,10 +1,9 @@
-use crate::error::{Error, OkOrBadRequest};
-
use std::borrow::Cow;
use hyper::header::HeaderValue;
use hyper::{HeaderMap, Method, Request};
+use crate::error::{Error, OkOrBadRequest};
use crate::helpers::Authorization;
use crate::router_macros::{generateQueryParameters, router_match};