]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: update code to use fetch_custom_config_files
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 15 Jun 2023 19:34:15 +0000 (15:34 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 15 Jun 2023 20:35:34 +0000 (16:35 -0400)
commit0ac4fe0624d1b7a03f0c06ad2af2999ebadfc8fb
treea1ea4c37a81acc5540d531d82663950d79abe306
parent44ce35e2390120bf2d9c1cefbbe50f7d2b7cbcbc
cephadm: update code to use fetch_custom_config_files

Update the code to use fetch_custom_config_files rather than
get_custom_config_files.  Like other fetch_ functions recently added
to cephadm we don't LBYL for checking values on ctx, but rather
call the fetch function on ctx and then check if the result contains
actionable data.
get_custom_config_files gets removed as no remaining callers exist.

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