rbd: improve doc comment style for ListChildren

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2019-12-16 14:25:36 -05:00 committed by Niels de Vos
parent f7cfbac80c
commit 0e3b60b14d
1 changed files with 4 additions and 1 deletions

View File

@ -686,6 +686,9 @@ func (image *Image) Flatten() error {
return GetError(C.rbd_flatten(image.image))
}
// ListChildren returns a list of images that reference the current snapshot.
//
// Implements:
// ssize_t rbd_list_children(rbd_image_t image, char *pools, size_t *pools_len,
// char *images, size_t *images_len);
func (image *Image) ListChildren() (pools []string, images []string, err error) {