]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: use service_name method of daemon identity
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 17 Nov 2023 16:23:47 +0000 (11:23 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 2 Jan 2024 14:30:20 +0000 (09:30 -0500)
commit8d97f74e933261f08ed6b0c6e102cfb98580c345
treeed89e3800930d572b43f6e881c9445a700c3a784
parentd7f6f632d03438de24ea267d93db9b38089e4026
cephadm: use service_name method of daemon identity

Use the new service_name method of the DaemonIdentity type in some basic
cases where string concatenation was being used.
I also converted the name of the agent's helper method to match and made
it private to avoid future confusion.

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