]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr: correct annotation for BasePyOSDMap._apply_incremental()
authorKefu Chai <kchai@redhat.com>
Tue, 19 Jan 2021 06:49:07 +0000 (14:49 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 26 Jan 2021 10:02:24 +0000 (18:02 +0800)
commit7b2dd7eba4422338acd5e6d8e24f88114f8694e6
treefc4e76d0f83902ee677441c6c7f7a13d138d8601
parentd139166ea7514d113a41c28dae59184e3d2101d0
pybind/mgr: correct annotation for BasePyOSDMap._apply_incremental()

it's incorrect. as the underlying C implementation,
"osdmap_apply_incremental()", actually expects an instance of
`BasePyOSDMapIncrementalType`. which is mapped to
`BasePyOSDMapIncremental` in Python. and this class is wrapped using
`OSDMapIncremental` in mgr_module.py.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/ceph_module.pyi