aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-10-05 16:27:16 +0200
committerAlex Auvolat <alex@adnab.me>2023-10-05 16:27:29 +0200
commit1c13135f253007dfd5c56b2ddf3412c9d66458ec (patch)
tree25300785a99ec1c043fb5feab425e0daccc088d0
parent2448eb771381318c5dd9f5516c606685156a3040 (diff)
downloadgarage-1c13135f253007dfd5c56b2ddf3412c9d66458ec.tar.gz
garage-1c13135f253007dfd5c56b2ddf3412c9d66458ec.zip
admin api: remove broken GET /v0/key router rule
-rw-r--r--src/api/admin/router.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/admin/router.rs b/src/api/admin/router.rs
index 254aff12..691d1932 100644
--- a/src/api/admin/router.rs
+++ b/src/api/admin/router.rs
@@ -111,7 +111,7 @@ impl Endpoint {
POST "/v1/key" => CreateKey,
POST "/v1/key/import" => ImportKey,
DELETE ("/v0/key" | "/v1/key") if id => DeleteKey (query::id),
- GET ("/v0/key" | "/v1/key") => ListKeys,
+ GET "/v1/key" => ListKeys,
// Bucket endpoints
GET ("/v0/bucket" | "/v1/bucket") if id => GetBucketInfo (query_opt::id, query_opt::global_alias),
GET ("/v0/bucket" | "/v1/bucket") if global_alias => GetBucketInfo (query_opt::id, query_opt::global_alias),