]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: rename {get,lookup}_unit_name_by_daemon_name
authorJohn Mulligan <jmulligan@redhat.com>
Sat, 18 Nov 2023 16:35:36 +0000 (11:35 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 2 Jan 2024 14:30:21 +0000 (09:30 -0500)
commit77cbbd614872bbad2e84efe9f87ecc6de6bb4d39
tree274029d2328e916599c5167a4d39705deeea4616
parent185182b0a9861e6720b50835baf55250c8baf74f
cephadm: rename {get,lookup}_unit_name_by_daemon_name

Rename get_unit_name_by_daemon_name to lookup__unit_name_by_daemon_name
to emphasize that the function does a full lookup (via the daemon list)
to determine the systemd service name for the given values and that
there's a potential performance implication to doing that.

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