mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
Merge pull request #30314 from Songweibin/wip-rbd-pybind
rbd/pybind: fix unsupported format character of %lx Reviewed-by: Jason Dillaman <dillaman@redhat.com> Reviewed-by: Kefu Chai <kchai@redhat.com> Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
This commit is contained in:
commit
9e773faa1c
@ -3441,7 +3441,7 @@ cdef class Image(object):
|
||||
with nogil:
|
||||
ret = rbd_snap_remove2(self.image, _name, _flags, prog_cb, NULL)
|
||||
if ret != 0:
|
||||
raise make_ex(ret, 'error removing snapshot %s from %s with flags %llx' % (name, self.name, flags))
|
||||
raise make_ex(ret, 'error removing snapshot %s from %s with flags %lx' % (name, self.name, flags))
|
||||
|
||||
def remove_snap_by_id(self, snap_id):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user