]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: move get_container_info out of cephadm.py 61761/head
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 11 Feb 2025 19:53:02 +0000 (14:53 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 11 Feb 2025 21:08:05 +0000 (16:08 -0500)
commit3c29e2f241e519b749c0936dea115217dad711b3
treecaf5e0b5768b780fcf365089ad379540c0725df5
parent361c69d431c9c5bdeba3b70d4a6e2faac02b48bc
cephadm: move get_container_info out of cephadm.py

Now that get_container_info is clean of dependencies on functions and
classes that only exist in cephadm.py we can move it.
I chose to move it to a new module, container_lookup.py, because I
didn't see any really good homes for it - other modules were too low
level or it didn't fit thematically.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadm.py
src/cephadm/cephadmlib/container_lookup.py [new file with mode: 0644]
src/cephadm/tests/test_cephadm.py