]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: refactor _update_service and all apply methods
authorSage Weil <sage@redhat.com>
Fri, 21 Feb 2020 22:43:26 +0000 (16:43 -0600)
committerSage Weil <sage@redhat.com>
Mon, 24 Feb 2020 16:46:10 +0000 (10:46 -0600)
commit0abfa90a617a6cde35b25963e43fef30961c3d0f
treea3af46a3e5cd1bf4894fc94cc2d612a7d958ef29
parentdc2d671aeb0336bb7529b7d0ff29476e5107d352
mgr/cephadm: refactor _update_service and all apply methods

- Use a common _apply_service() helper
- Consolidate _add_new_daemon logic into _apply_service
- Do the NodeAssignment all in one place

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/cephadm/module.py