]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: break up deploy_daemon_units into more functions
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 6 Jun 2023 21:16:08 +0000 (17:16 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 9 Aug 2023 17:48:07 +0000 (13:48 -0400)
commit4df94e72cea9630024b93d37db52d9148a3f210d
treeb0c94538f836f55fd5e9cbee50c6dbcdee1f0885
parentc6c0e51145e3039ad687d5501bea6c1f2bbcc201
cephadm: break up deploy_daemon_units into more functions

Break up deploy_daemon_units which had a lot of various "sub-tasks"
implemented within the main body of the function. Splitting up
the function makes each function's scope smaller, more readily testable
and more readable.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py