]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: refactor keyring simplification out of get_keyring_with_caps
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 5 Jan 2024 15:24:10 +0000 (10:24 -0500)
committerAdam King <adking@redhat.com>
Mon, 15 Apr 2024 15:01:30 +0000 (11:01 -0400)
commit6bfd46b96e45a41410c37195a8903f01e056fcab
tree59c675edf290e06b39ac923c6ed9aedabf928360
parent39dd0e8c6347f966bceadea7f35c4488524647f9
mgr/cephadm: refactor keyring simplification out of get_keyring_with_caps

Refactor get_keyring_with_caps such that the keyring simplification code
is moved into a new function that can be used in other locations.
get_keyring_with_caps will now call the new function to return the
simplified & consistent keyring output.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 41e2b27817c783f3b4b142441ed827e1827482d6)
src/pybind/mgr/cephadm/services/cephadmservice.py