mirror of https://github.com/ceph/go-ceph
rbd: improve doc comment style for resize
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
317feb322a
commit
98d1543070
|
@ -503,7 +503,10 @@ func (image *Image) Close() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// int rbd_resize(rbd_image_t image, uint64_t size);
|
||||
// Resize an rbd image.
|
||||
//
|
||||
// Implements:
|
||||
// int rbd_resize(rbd_image_t image, uint64_t size);
|
||||
func (image *Image) Resize(size uint64) error {
|
||||
if err := image.validate(imageIsOpen); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue