CreateBucket

This commit is contained in:
Alex Auvolat
2022-05-12 10:45:09 +02:00
parent 2b93a01d2b
commit de1a5b87b6
3 changed files with 108 additions and 6 deletions
+1
View File
@@ -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()