From 37ff5a104fcfd1311863d7b0ea89b121654cfb04 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Tue, 10 Dec 2024 11:48:42 +0100 Subject: [PATCH] pybind/rbd: fix a type comment for p_snapshot of clone() This was missed in commit d7fd66ec9944 ("librbd: add rbd_clone4() API to take parent snapshot by ID"). Signed-off-by: Ilya Dryomov --- src/pybind/rbd/rbd.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/rbd/rbd.pyx b/src/pybind/rbd/rbd.pyx index 786c9ef0fec..bcae8cc289c 100644 --- a/src/pybind/rbd/rbd.pyx +++ b/src/pybind/rbd/rbd.pyx @@ -645,7 +645,7 @@ class RBD(object): :param p_name: the parent image name :type name: str :param p_snapshot: the parent image snapshot name or id - :type name: str + :type name: str or int :param c_ioctx: the child context that represents the new clone :type ioctx: :class:`rados.Ioctx` :param c_name: the clone (child) name -- 2.39.5