mirror of https://github.com/ceph/go-ceph
rbd: improve doc comment style for flatten
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
8253568174
commit
f7cfbac80c
|
@ -674,7 +674,10 @@ func (image *Image) Copy2(dest *Image) error {
|
|||
return GetError(C.rbd_copy2(image.image, dest.image))
|
||||
}
|
||||
|
||||
// int rbd_flatten(rbd_image_t image);
|
||||
// Flatten removes snapshot references from the image.
|
||||
//
|
||||
// Implements:
|
||||
// int rbd_flatten(rbd_image_t image);
|
||||
func (image *Image) Flatten() error {
|
||||
if err := image.validate(imageIsOpen); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue