aboutsummaryrefslogtreecommitdiff
path: root/src/api/admin/api_server.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-12 10:45:09 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-12 10:45:09 +0200
commitde1a5b87b6980c66966fbe2b2f35b925fd83308b (patch)
tree4a1bc095c996f8e08800054613e5d254e7e0694a /src/api/admin/api_server.rs
parent2b93a01d2bead391e15f529dc5b4db80dcbeeba8 (diff)
downloadgarage-de1a5b87b6980c66966fbe2b2f35b925fd83308b.tar.gz
garage-de1a5b87b6980c66966fbe2b2f35b925fd83308b.zip
CreateBucket
Diffstat (limited to 'src/api/admin/api_server.rs')
-rw-r--r--src/api/admin/api_server.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/admin/api_server.rs b/src/api/admin/api_server.rs
index 8e5a8c6c..783ecfcb 100644
--- a/src/api/admin/api_server.rs
+++ b/src/api/admin/api_server.rs
@@ -145,6 +145,7 @@ impl ApiHandler for AdminApiServer {
Endpoint::GetBucketInfo { id, global_alias } => {
handle_get_bucket_info(&self.garage, id, global_alias).await
}
+ Endpoint::CreateBucket => handle_create_bucket(&self.garage, req).await,
_ => Err(Error::NotImplemented(format!(
"Admin endpoint {} not implemented yet",
endpoint.name()