]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: move logic determining name in stray func
authorJohn Mulligan <phlogistonjohn@asynchrono.us>
Mon, 12 Aug 2024 13:52:20 +0000 (09:52 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 20 Aug 2024 13:53:57 +0000 (09:53 -0400)
commitd84c7b36cf0eda14afc95ca779e8f8a341d39e46
tree0d50df876c749a6c5664235c62b1279e4c485402
parenta64e1d57ec139f863c1fdf6afeb5c225f0455fc2
mgr/cephadm: move logic determining name in stray func

Encapsulate the logic determining the name of a stray service into a
method reducing the length and levels of indent in the stray checker
function.

Signed-off-by: John Mulligan <phlogistonjohn@asynchrono.us>
src/pybind/mgr/cephadm/serve.py