rbd: clearly mark open function as deprecated

Use the notation described in the new API stability doc.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2021-08-23 13:45:22 -04:00 committed by mergify[bot]
parent 126d6f5747
commit 7f74708d5b

View File

@ -327,7 +327,7 @@ func (image *Image) Rename(destname string) error {
return err
}
// Open the rbd image.
// Open the rbd image (DEPRECATED).
//
// Deprecated: The Open function was provided in earlier versions of the API
// and now exists to support older code. The use of OpenImage and