]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: convert get_container_mounts to use a DaemonIdentity argument
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 26 Jul 2023 17:24:36 +0000 (13:24 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 11 Sep 2023 19:22:22 +0000 (15:22 -0400)
commit3b2c2dc1f88d1d77dcdc57dfbb85cf6e7106ceaf
tree54c350e70a93211eb29d62e88165f1d2dc795065
parentb55ff2512991c996c33dccc5e52e1fbfbde9fc0f
cephadm: convert get_container_mounts to use a DaemonIdentity argument

Convert get_container_mounts to use a DaemonIdentity argument, and in
order to do so: split get_container_mounts_for_type out of
get_container_mounts. get_container_mounts will take a DaemonIdentity
and safely assume that the fsid, daemon_type, daemon_id triple is
available whereas get_container_mounts_for_type has the functionality
of only requiring the fsid and daemon_type.

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