]> 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)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 15 Jun 2023 20:35:34 +0000 (16:35 -0400)
commitb64807f759b1b619f5c568102cf58c5bafa87d76
treefb7fbbadbb8384abd0e21e04f29c951a3f2bc0f4
parent69b2d49fbb129e831de00d74772bcf56b882c0e2
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