mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-11 14:56:53 +00:00
New buckets for 0.6.0: make bucket id a SK and not a HK, CLI updates
This commit is contained in:
@@ -20,7 +20,7 @@ pub async fn handle_delete_website(
|
||||
) -> Result<Response<Body>, Error> {
|
||||
let mut bucket = garage
|
||||
.bucket_table
|
||||
.get(&bucket_id, &EmptyKey)
|
||||
.get(&EmptyKey, &bucket_id)
|
||||
.await?
|
||||
.ok_or(Error::NotFound)?;
|
||||
|
||||
@@ -48,7 +48,7 @@ pub async fn handle_put_website(
|
||||
|
||||
let mut bucket = garage
|
||||
.bucket_table
|
||||
.get(&bucket_id, &EmptyKey)
|
||||
.get(&EmptyKey, &bucket_id)
|
||||
.await?
|
||||
.ok_or(Error::NotFound)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user