rbd: improve doc comment style for close

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2019-12-16 13:56:59 -05:00 committed by Niels de Vos
parent e63f863edb
commit 317feb322a
1 changed files with 4 additions and 1 deletions

View File

@ -486,7 +486,10 @@ func (image *Image) Open(args ...interface{}) error {
return GetError(ret)
}
// int rbd_close(rbd_image_t image);
// Close an open rbd image.
//
// Implements:
// int rbd_close(rbd_image_t image);
func (image *Image) Close() error {
if err := image.validate(imageIsOpen); err != nil {
return err