mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-08 05:43:13 +00:00
New buckets for 0.6.0: make bucket id a SK and not a HK, CLI updates
This commit is contained in:
@@ -93,7 +93,7 @@ async fn serve_file(garage: Arc<Garage>, req: Request<Body>) -> Result<Response<
|
||||
// Check bucket isn't deleted and has website access enabled
|
||||
let _: Bucket = garage
|
||||
.bucket_table
|
||||
.get(&bucket_id, &EmptyKey)
|
||||
.get(&EmptyKey, &bucket_id)
|
||||
.await?
|
||||
.filter(|b| {
|
||||
b.state
|
||||
|
||||
Reference in New Issue
Block a user