From e2d6524cf41b743b8c01fd9e43b55f1fa6adde2c Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Thu, 8 Jun 2023 11:19:41 +0530 Subject: [PATCH] rgw/admin: Make API.ListBucketsWithStat stable Signed-off-by: Anoop C S --- docs/api-status.json | 15 +++++++-------- docs/api-status.md | 6 +----- rgw/admin/list_bucket_with_stats.go | 3 --- rgw/admin/list_bucket_with_stats_test.go | 3 --- 4 files changed, 8 insertions(+), 19 deletions(-) diff --git a/docs/api-status.json b/docs/api-status.json index fc58b6e..75350d3 100644 --- a/docs/api-status.json +++ b/docs/api-status.json @@ -2003,14 +2003,7 @@ ] }, "rgw/admin": { - "preview_api": [ - { - "name": "API.ListBucketsWithStat", - "comment": "ListBucketsWithStat will return the list of all buckets with stat (system admin API only)\n", - "added_in_version": "v0.20.0", - "expected_stable_version": "v0.22.0" - } - ], + "preview_api": [], "stable_api": [ { "name": "API.ListBuckets", @@ -2136,6 +2129,12 @@ "comment": "SetIndividualBucketQuota sets quota to a specific bucket\nhttps://docs.ceph.com/en/latest/radosgw/adminops/#set-quota-for-an-individual-bucket\n", "added_in_version": "v0.17.0", "became_stable_version": "v0.19.0" + }, + { + "name": "API.ListBucketsWithStat", + "comment": "ListBucketsWithStat will return the list of all buckets with stat (system admin API only)\n", + "added_in_version": "v0.20.0", + "became_stable_version": "v0.22.0" } ] }, diff --git a/docs/api-status.md b/docs/api-status.md index f690f2d..36fa16a 100644 --- a/docs/api-status.md +++ b/docs/api-status.md @@ -71,11 +71,7 @@ No Preview/Deprecated APIs found. All APIs are considered stable. ## Package: rgw/admin -### Preview APIs - -Name | Added in Version | Expected Stable Version | ----- | ---------------- | ----------------------- | -API.ListBucketsWithStat | v0.20.0 | v0.22.0 | +No Preview/Deprecated APIs found. All APIs are considered stable. ## Package: common/admin/manager diff --git a/rgw/admin/list_bucket_with_stats.go b/rgw/admin/list_bucket_with_stats.go index 5720765..fdd462f 100644 --- a/rgw/admin/list_bucket_with_stats.go +++ b/rgw/admin/list_bucket_with_stats.go @@ -1,6 +1,3 @@ -//go:build ceph_preview -// +build ceph_preview - package admin import ( diff --git a/rgw/admin/list_bucket_with_stats_test.go b/rgw/admin/list_bucket_with_stats_test.go index 49e025e..a9bcb89 100644 --- a/rgw/admin/list_bucket_with_stats_test.go +++ b/rgw/admin/list_bucket_with_stats_test.go @@ -1,6 +1,3 @@ -//go:build ceph_preview -// +build ceph_preview - package admin import (