]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/rbd: fix a type comment for p_snapshot of clone() 61016/head
authorIlya Dryomov <idryomov@gmail.com>
Tue, 10 Dec 2024 10:48:42 +0000 (11:48 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 10 Dec 2024 10:48:42 +0000 (11:48 +0100)
This was missed in commit d7fd66ec9944 ("librbd: add rbd_clone4() API
to take parent snapshot by ID").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/pybind/rbd/rbd.pyx

index 786c9ef0fec0a4c213c4072cae1d7439939b6923..bcae8cc289cf197212305e6411c013642d617745 100644 (file)
@@ -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