]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: rework get_container in terms of daemon_to_container
authorJohn Mulligan <jmulligan@redhat.com>
Sun, 5 Nov 2023 20:22:02 +0000 (15:22 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 17 Nov 2023 13:10:11 +0000 (08:10 -0500)
commit5b8a37b561d117edcd850232dab24d597e9dd836
treea53a4c5d00a386da01b420598f464d03f0258577
parent66d4a47ca8c6588409e9d0f5975bab36fc37a8e4
cephadm: rework get_container in terms of daemon_to_container

With get_container basically equivalent to daemon_to_container except
one creates a ContainerDaemonForm and the other requires one, we
can rework get_container to act as a thin wrapper around
daemon_to_container.

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