Skip to content

Commit 448b5a4

Browse files
authored
Merge pull request ceph#61016 from idryomov/wip-p-snapname-type
pybind/rbd: fix a type comment for p_snapshot of clone() Reviewed-by: Vinay Bhaskar Varada <vvarada@redhat.com>
2 parents 90d0f03 + 37ff5a1 commit 448b5a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pybind/rbd/rbd.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ class RBD(object):
645645
:param p_name: the parent image name
646646
:type name: str
647647
:param p_snapshot: the parent image snapshot name or id
648-
:type name: str
648+
:type name: str or int
649649
:param c_ioctx: the child context that represents the new clone
650650
:type ioctx: :class:`rados.Ioctx`
651651
:param c_name: the clone (child) name

0 commit comments

Comments
 (0)