]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: use DaemonIdentity in arguments to CephContainer.for_daemon
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 25 Jul 2023 20:23:34 +0000 (16:23 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 11 Sep 2023 17:34:11 +0000 (13:34 -0400)
commit5c7cbceef460931df2321ddb106fe0e6e38b80ea
tree5373b5cbdc0d77a19b48e12faaeac44ac1abf0af
parent53c63888fb5e71d0ef672ad0acdcfc16e0714252
cephadm: use DaemonIdentity in arguments to CephContainer.for_daemon

Previously, the CephContainer.for_daemon took separate arguments for
fsid, daemon_type, & daemon_id. Now that we have a dedicated type
for encapsulating those values, switch for_daemon to take
a DaemonIdentity instead.

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