rbd: make Snapshot.Remove stable

As per the api stability doc, Snapshot.Remove is due to be stable in
0.18.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2022-10-17 10:25:21 -04:00 committed by mergify[bot]
parent 6c62acb906
commit f2f7e1c51d
4 changed files with 5 additions and 13 deletions

View File

@ -1668,16 +1668,15 @@
{
"name": "Watch.Unwatch",
"comment": "Unwatch un-registers the image watch.\n\nImplements:\n int rbd_update_unwatch(rbd_image_t image, uint64_t handle);\n"
}
],
"preview_api": [
},
{
"name": "Snapshot.Rename",
"comment": "Rename a snapshot.\n\nImplements:\n int rbd_snap_rename(rbd_image_t image, const char *snapname, const char* dstsnapsname);\n",
"comment": "Rename a snapshot.\n\nImplements:\n\tint rbd_snap_rename(rbd_image_t image, const char *snapname,\n\t\t\t\t const char* dstsnapsname);\n",
"added_in_version": "v0.16.0",
"expected_stable_version": "v0.18.0"
"became_stable_version": "v0.18.0"
}
]
],
"preview_api": []
},
"rbd/admin": {
"stable_api": [

View File

@ -35,7 +35,6 @@ IOContext.RequiresAlignment | v0.17.0 | v0.19.0 |
Name | Added in Version | Expected Stable Version |
---- | ---------------- | ----------------------- |
Snapshot.Rename | v0.16.0 | v0.18.0 |
### Deprecated APIs

View File

@ -1,6 +1,3 @@
//go:build ceph_preview
// +build ceph_preview
package rbd
// #cgo LDFLAGS: -lrbd

View File

@ -1,6 +1,3 @@
//go:build ceph_preview
// +build ceph_preview
package rbd
import (