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