]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: remove call to get_parm from fetch_configs
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 15 Jun 2023 19:54:09 +0000 (15:54 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 15 Jun 2023 20:35:34 +0000 (16:35 -0400)
commit644677576c86aedcf3fd15788cc7087a6fc871cc
treec1d5d7eb60c3794492d6fc6481f7d6ae9f271711
parent4a9ad8a589581284c69d6dc105e9eab07d1ea6b2
cephadm: remove call to get_parm from fetch_configs

Stop using get_parm in fetch_configs. Doing so makes clear that
the two if-branches in fetch_configs are symmetric, in the
handling of custom_config_files and symmetric with the behavior
of fetch_custom_config_files.
It also reveals that get_parm only has one remaining caller making it
simpler to remove get_parm in the future.

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