]> 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>
Wed, 10 Mar 2021 19:34:30 +0000 (14:34 -0500)
commit3201516ea0708873b2d93d4452b38e1802346932
treeb7b76295a2174c81dc24143f5e3ddc111eb4b198
parent6244a857381f26c38207394af0d643d551c011cc
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>
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