]> 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)
committerKefu Chai <kchai@redhat.com>
Wed, 30 Jun 2021 06:03:33 +0000 (14:03 +0800)
commit9bb55e84809e17e0aa1cb1aa4ae712a3ea4fffed
tree7b3b815c125a8d7ac1f56a1242bf69ebb69f56f2
parent4efd7400804ff42b5965ad2691223471b4ae38a7
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>
src/pybind/mgr/pg_autoscaler/module.py