]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: consolidate if-blocks in get_container function
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 19 Oct 2023 18:48:17 +0000 (14:48 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Sat, 4 Nov 2023 18:53:06 +0000 (14:53 -0400)
commit5f25a2a161571bfa3386a19d2c26d4e4093b348f
tree2cd93f33ea3f2a78448f35fff0ac93667ffce7de
parent66901a6265f4ca13c71e9b4ef85b5f40d0ddce9e
cephadm: consolidate if-blocks in get_container function

Instead of having a number of separate if-statement blocks try to
reduce the number of sections so that you can look at one block
and see what the function is doing for that daemon type.

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