diff --git a/docs/api-status.json b/docs/api-status.json index ab60fcf..7b2cc89 100644 --- a/docs/api-status.json +++ b/docs/api-status.json @@ -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": [ diff --git a/docs/api-status.md b/docs/api-status.md index 421367f..c1e12f7 100644 --- a/docs/api-status.md +++ b/docs/api-status.md @@ -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 diff --git a/rbd/snapshot_rename.go b/rbd/snapshot_rename.go index e564916..af01104 100644 --- a/rbd/snapshot_rename.go +++ b/rbd/snapshot_rename.go @@ -1,6 +1,3 @@ -//go:build ceph_preview -// +build ceph_preview - package rbd // #cgo LDFLAGS: -lrbd diff --git a/rbd/snapshot_rename_test.go b/rbd/snapshot_rename_test.go index 8d4eb65..3eba168 100644 --- a/rbd/snapshot_rename_test.go +++ b/rbd/snapshot_rename_test.go @@ -1,6 +1,3 @@ -//go:build ceph_preview -// +build ceph_preview - package rbd import (