]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: add parsed_container_image_stats to container_engines
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 31 Jan 2025 00:04:32 +0000 (19:04 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 5 Feb 2025 18:13:06 +0000 (13:13 -0500)
commite965813da15e02ac640e9cb3635b556e49dcbd30
treeb0b8df9f9b94be660350a5580061c5b945f28aae
parent32fe8aacc983cfcf36f0e9088b145437b09be9bc
cephadm: add parsed_container_image_stats to container_engines

Add a new function that combines the call and parse operations that
exist in cephadm.py (currently get_container_stats_by_image_name and
related parsing code). This will be used in a future commit to replace
that code and reduce the size of cephadm.py.

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