]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: move data_dir check to earlier in the function
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 4 Oct 2024 18:14:04 +0000 (14:14 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 11 Feb 2025 21:08:04 +0000 (16:08 -0500)
commit1aa5e9fe204e1abf5300eb2f2dccb080b048bddd
tree2bf45f69aa55354515611c1401c2b9b25e65fe5a
parent68fe29eb78e8936487cb0075e6e8d399c5f0b3cf
cephadm: move data_dir check to earlier in the function

Move the check for data_dir earlier in the list_daemons function.
Having the check performed ealier means we can fail fast and avoid
calling container engine commands if we're not going to be returning any
useful results because data dir is missing.

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