From 72ac947edf49d600c52a056f626d81ce87926a68 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Mon, 5 Dec 2022 17:31:52 +0530 Subject: [PATCH] rgw/admin: Make API.ListUserBuckets and API.ListUserBucketsWithStat stable Signed-off-by: Anoop C S --- docs/api-status.json | 24 ++++++++++++------------ docs/api-status.md | 2 -- rgw/admin/user_bucket.go | 3 --- rgw/admin/user_bucket_test.go | 3 --- 4 files changed, 12 insertions(+), 20 deletions(-) diff --git a/docs/api-status.json b/docs/api-status.json index 7a9d50c..5ad0537 100644 --- a/docs/api-status.json +++ b/docs/api-status.json @@ -1751,18 +1751,6 @@ }, "rgw/admin": { "preview_api": [ - { - "name": "API.ListUsersBuckets", - "comment": "ListUsersBuckets will return the list of all users buckets without stat.\n", - "added_in_version": "v0.17.0", - "expected_stable_version": "v0.19.0" - }, - { - "name": "API.ListUsersBucketsWithStat", - "comment": "ListUsersBucketsWithStat will return the list of all users buckets with stat.\n", - "added_in_version": "v0.17.0", - "expected_stable_version": "v0.19.0" - }, { "name": "API.CreateKey", "comment": "CreateKey will generate new keys or add specified to keyring.\nhttps://docs.ceph.com/en/latest/radosgw/adminops/#create-key.\n", @@ -1877,6 +1865,18 @@ { "name": "API.ModifySubuser", "comment": "ModifySubuser - https://docs.ceph.com/en/latest/radosgw/adminops/#modify-subuser\n" + }, + { + "name": "API.ListUsersBuckets", + "comment": "ListUsersBuckets will return the list of all users buckets without stat\n", + "added_in_version": "v0.17.0", + "became_stable_version": "v0.19.0" + }, + { + "name": "API.ListUsersBucketsWithStat", + "comment": "ListUsersBucketsWithStat will return the list of all users buckets with stat\n", + "added_in_version": "v0.17.0", + "became_stable_version": "v0.19.0" } ] }, diff --git a/docs/api-status.md b/docs/api-status.md index e99e9ee..ee4f8d9 100644 --- a/docs/api-status.md +++ b/docs/api-status.md @@ -34,8 +34,6 @@ No Preview/Deprecated APIs found. All APIs are considered stable. Name | Added in Version | Expected Stable Version | ---- | ---------------- | ----------------------- | -API.ListUsersBuckets | v0.17.0 | v0.19.0 | -API.ListUsersBucketsWithStat | v0.17.0 | v0.19.0 | API.CreateKey | v0.17.0 | v0.19.0 | API.RemoveKey | v0.17.0 | v0.19.0 | API.SetIndividualBucketQuota | v0.17.0 | v0.19.0 | diff --git a/rgw/admin/user_bucket.go b/rgw/admin/user_bucket.go index db24fc3..182d39b 100644 --- a/rgw/admin/user_bucket.go +++ b/rgw/admin/user_bucket.go @@ -1,6 +1,3 @@ -//go:build ceph_preview -// +build ceph_preview - package admin import ( diff --git a/rgw/admin/user_bucket_test.go b/rgw/admin/user_bucket_test.go index ffae0bb..8d3d598 100644 --- a/rgw/admin/user_bucket_test.go +++ b/rgw/admin/user_bucket_test.go @@ -1,6 +1,3 @@ -//go:build ceph_preview -// +build ceph_preview - package admin import (