Skip to content

Commit

Permalink
rgw/admin: Make API.ListBucketsWithStat stable
Browse files Browse the repository at this point in the history
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
  • Loading branch information
anoopcs9 committed Jun 8, 2023
1 parent 36ae906 commit 4d74d3f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 19 deletions.
15 changes: 7 additions & 8 deletions docs/api-status.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
}
]
},
Expand Down
6 changes: 1 addition & 5 deletions docs/api-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 0 additions & 3 deletions rgw/admin/list_bucket_with_stats.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build ceph_preview
// +build ceph_preview

package admin

import (
Expand Down
3 changes: 0 additions & 3 deletions rgw/admin/list_bucket_with_stats_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build ceph_preview
// +build ceph_preview

package admin

import (
Expand Down

0 comments on commit 4d74d3f

Please sign in to comment.