]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/rados: use rados_set_pool_full_try instead of the deprecated one 38400/head
authorKefu Chai <kchai@redhat.com>
Wed, 2 Dec 2020 12:07:50 +0000 (20:07 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 2 Dec 2020 12:09:23 +0000 (20:09 +0800)
commit63fb93922ee515af9a320b4b398d2564fb35c8e3
tree579281337bc5ecb2668d8efcce57d40e7a216871
parent22e63b72de41a6fa8dbc75524004fe32676b8ff7
pybind/rados: use rados_set_pool_full_try instead of the deprecated one

this change silences the warning when compiling the cythonized python
binding:

build/src/pybind/rados/pyrex/rados.c:64435:9: warning: 'rados_set_osdmap_full_try' is deprecated [-Wdeprecated-declarations]
         rados_set_osdmap_full_try(__pyx_v_self->io);
         ^~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/rados/rados.pyx