mirror of https://github.com/ceph/go-ceph
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,6 +486,9 @@ func (image *Image) Open(args ...interface{}) error {
|
||||||
return GetError(ret)
|
return GetError(ret)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Close an open rbd image.
|
||||||
|
//
|
||||||
|
// Implements:
|
||||||
// int rbd_close(rbd_image_t image);
|
// int rbd_close(rbd_image_t image);
|
||||||
func (image *Image) Close() error {
|
func (image *Image) Close() error {
|
||||||
if err := image.validate(imageIsOpen); err != nil {
|
if err := image.validate(imageIsOpen); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue