]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add fetch_custom_config_files function
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 15 Jun 2023 19:34:09 +0000 (15:34 -0400)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:35:14 +0000 (13:35 -0400)
commit31af8923bb5db531054f8d5ca6908ad08fc816b5
treecd1d50329cf92b164871c998b8669b09dc6a1c31
parent6d7a56611e88db8e19a4397c887ba72da2184fa8
cephadm: add fetch_custom_config_files function

This function works similarly to get_custom_config_files but doesn't
require the use of "ctx.config_json" and will prefer sourcing the
data from `config_blobs`.
This function also returns the list of dicts rather than return a dict
with exactly one key which maps to said list of dicts. There appeared
to be no benefit to that when the call sites of get_custom_config_files
was examined.

This function is `fetch_configs` evil twin.

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