]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: block future use of extra_args
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 16 May 2023 17:49:28 +0000 (13:49 -0400)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:35:14 +0000 (13:35 -0400)
commit5dd626b247f657faa31bb66e285cbbe100ddb3b1
tree61ea7c3ceedfd166f6e35562886ec864030a3bb0
parent01264bd3ec1df974b798a9fef466dd8decec9dbc
mgr/cephadm: block future use of extra_args

Convert `extra_args` into a read-only property so that
current code continues to work but anything that tries
to set any `extra_args` now or in the future will be
intentionally broken.

This is mainly to find issues when running unit and teuthology tests.
This patch could be dropped before the final merge if desired.

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