]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/pg_autoscaler: extract CrushSubtreeResourceStatus out
authorKefu Chai <kchai@redhat.com>
Mon, 28 Jun 2021 04:28:17 +0000 (12:28 +0800)
committerKamoltat <ksirivad@redhat.com>
Thu, 26 Aug 2021 19:56:44 +0000 (19:56 +0000)
commit9d8b8bb7cec3151e6a2eea27c4ced223c9eab794
tree2d2edd9abf17a3e90904aa69fe62992a8fd46b67
parent20af652ca0bb6682fe57c159acb6cc3ecdf5c8c7
pybind/mgr/pg_autoscaler: extract CrushSubtreeResourceStatus out

as it also serves as part of interface of get_subtree_resource_status(),
not only its internals. to ease adding the type annotations, this class
is promoted out of the class.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 9bb55e84809e17e0aa1cb1aa4ae712a3ea4fffed)
src/pybind/mgr/pg_autoscaler/module.py