]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: move extract_uid_gid func to container_types module
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 19 Oct 2023 13:42:34 +0000 (09:42 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 3 Nov 2023 15:24:48 +0000 (11:24 -0400)
commit19378b11756e5d985421e1978bb2d59159bb3f21
treea426e2dcb13a03b3b70b01982cc8f230941a5273
parent36ad48515a31998be8188bd6e0cc3117d7220bb3
cephadm: move extract_uid_gid func to container_types module

While extract_uid_gid isn't a perfect fit for container_types it is a
fairly fundamental function for working with containers in cephadm and
doesn't require anything beyond types in containers_types and that
module's existing imports.  Moving extract_uid_gid should allow us to
more easily move other functions in the future.

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