]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:35:14 +0000 (13:35 -0400)
commitcd041daa822c2aedfc35415632b24ac5a20bbce6
treec2ef9fdd35bd3ef6ddb9f989379f39e5dd53dd70
parent31af8923bb5db531054f8d5ca6908ad08fc816b5
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