mirror of
https://github.com/ceph/go-ceph
synced 2025-02-27 16:10:33 +00:00
rbd: improve doc comment style for close
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
e63f863edb
commit
317feb322a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user