]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 21 Mar 2024 22:30:58 +0000 (18:30 -0400)
commit41e2b27817c783f3b4b142441ed827e1827482d6
tree93a9e11c8a0e52e0eca7d9b1c55386e490fc605e
parenta500f42d1a6faf5dc2607dd3ec425c5af7585128
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>
src/pybind/mgr/cephadm/services/cephadmservice.py