diff --git a/rbd/rbd.go b/rbd/rbd.go index 3eecb7f..d2c8dd4 100644 --- a/rbd/rbd.go +++ b/rbd/rbd.go @@ -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