]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm/schedule: pass daemons, not get_daemons_func
authorSage Weil <sage@newdream.net>
Tue, 9 Mar 2021 23:17:49 +0000 (18:17 -0500)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 12:56:18 +0000 (07:56 -0500)
commitd5cae058e8721b6d9ebef10c882d7db99522893c
tree2b08368ae16510d8213b55345d4b52da64daece4
parentd1220aaa29df7e51b67b68083ca3866885aaadf3
mgr/cephadm/schedule: pass daemons, not get_daemons_func

- simpler
- many/most callers already have the daemon list, so we save ourselves
duplicated effort

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 3201516ea0708873b2d93d4452b38e1802346932)
src/pybind/mgr/cephadm/migrations.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/schedule.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/tests/test_scheduling.py