diff options
author | Alex Auvolat <lx@deuxfleurs.fr> | 2025-01-29 11:06:45 +0100 |
---|---|---|
committer | Alex Auvolat <lx@deuxfleurs.fr> | 2025-01-29 19:26:16 +0100 |
commit | 420bbc162dffd1246544168cf2e935efc60c5c98 (patch) | |
tree | 2bb6a733de3e0c1856879631f4397dad0a518cb0 /src/api/admin/key.rs | |
parent | 12ea4cda5fe033fc2b9f1fec51ddc3d8b860a85f (diff) | |
download | garage-420bbc162dffd1246544168cf2e935efc60c5c98.tar.gz garage-420bbc162dffd1246544168cf2e935efc60c5c98.zip |
admin api: clearer syntax for AddBucketAlias and RemoveBucketAlias
Diffstat (limited to 'src/api/admin/key.rs')
-rw-r--r-- | src/api/admin/key.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/api/admin/key.rs b/src/api/admin/key.rs index 5bec2202..3e4201d9 100644 --- a/src/api/admin/key.rs +++ b/src/api/admin/key.rs @@ -8,12 +8,7 @@ use garage_table::*; use garage_model::garage::Garage; use garage_model::key_table::*; -use crate::admin::api::{ - ApiBucketKeyPerm, CreateKeyRequest, CreateKeyResponse, DeleteKeyRequest, DeleteKeyResponse, - GetKeyInfoRequest, GetKeyInfoResponse, ImportKeyRequest, ImportKeyResponse, - KeyInfoBucketResponse, KeyPerm, ListKeysRequest, ListKeysResponse, ListKeysResponseItem, - UpdateKeyRequest, UpdateKeyResponse, -}; +use crate::admin::api::*; use crate::admin::error::*; use crate::admin::EndpointHandler; |