From: Ilya Dryomov Date: Tue, 10 Dec 2024 10:48:42 +0000 (+0100) Subject: pybind/rbd: fix a type comment for p_snapshot of clone() X-Git-Tag: v20.0.0~566^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=37ff5a104fcfd1311863d7b0ea89b121654cfb04;p=ceph.git 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 --- diff --git a/src/pybind/rbd/rbd.pyx b/src/pybind/rbd/rbd.pyx index 786c9ef0fec0a..bcae8cc289cf1 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