]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: split _do_upgrade into sub functions
authorAdam King <adking@redhat.com>
Mon, 28 Mar 2022 16:10:15 +0000 (12:10 -0400)
committerAdam King <adking@redhat.com>
Sat, 21 May 2022 21:55:28 +0000 (17:55 -0400)
commit7e3917e856e7cb1bc0fe27eb3b7418d56b200a8a
treee0fdc3388fd1e0513ff4500e78264040ba935ee2
parentd4b4a97aa211c051cf6c80bc571240db30f3c104
mgr/cephadm: split _do_upgrade into sub functions

This function was around 500 lines and difficult to work
with. Splitting it into sub functions should hopefully make
it a bit easier to understand and make changes to.

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 7b83c51fe63ae006b15dcf509c08a722f104788e)

Conflicts:
src/pybind/mgr/cephadm/upgrade.py
src/pybind/mgr/cephadm/upgrade.py