From 88c27615c41aa13e18efcdff55eab17f33c02337 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 29 Jan 2026 20:03:17 -0800 Subject: [PATCH] /table-buckets --- weed/s3api/s3tables/handler.go | 2 +- weed/s3api/s3tables/handler_policy.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/s3api/s3tables/handler.go b/weed/s3api/s3tables/handler.go index 1280aa8fe..3b5dd79a9 100644 --- a/weed/s3api/s3tables/handler.go +++ b/weed/s3api/s3tables/handler.go @@ -14,7 +14,7 @@ import ( ) const ( - TablesPath = "/tables" + TablesPath = "/table-buckets" DefaultAccountID = "000000000000" DefaultRegion = "us-east-1" diff --git a/weed/s3api/s3tables/handler_policy.go b/weed/s3api/s3tables/handler_policy.go index fd2537d74..c11d9086b 100644 --- a/weed/s3api/s3tables/handler_policy.go +++ b/weed/s3api/s3tables/handler_policy.go @@ -18,7 +18,7 @@ func (h *S3TablesHandler) extractResourceOwnerAndBucket( resourcePath string, rType ResourceType, ) (ownerAccountID, bucketName string, err error) { - // Extract bucket name from resource path (format: /tables/{bucket}/... for both tables and buckets) + // Extract bucket name from resource path (format: /table-buckets/{bucket}/... for both tables and buckets) parts := strings.Split(strings.Trim(resourcePath, "/"), "/") if len(parts) >= 2 { bucketName = parts[1]