]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
python-common: replace types for extra_*_args with ArgSpec based types
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 17 May 2023 17:50:19 +0000 (13:50 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 29 Jun 2023 18:40:30 +0000 (14:40 -0400)
commit925e09a46437bf9a8de0d7b853cdc3126ffe4260
tree1052a55d403cb6e3cf1f8314bc7e4f8a12301954
parent1bae8b0c0c39246bfc92e8f366ddb9e345cee343
python-common: replace types for extra_*_args with ArgSpec based types

Use the ArgSpec, ArgumentList, and GeneralArgList types throughout
the deployment module to support extra_container_args and
extra_entrypoint_args. The GeneralArgList type supports all possible
input forms while ArgumentList reflects the internal representation
of the argument lists.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/python-common/ceph/deployment/drive_group.py
src/python-common/ceph/deployment/service_spec.py
src/python-common/ceph/tests/test_service_spec.py