rbd: improve doc comment style for resize

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2019-12-16 13:57:24 -05:00 committed by Niels de Vos
parent 317feb322a
commit 98d1543070
1 changed files with 4 additions and 1 deletions

View File

@ -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