]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/orchestrator,cephadm: replace CLICommandMeta
authorSamuel Just <sjust@redhat.com>
Mon, 24 Nov 2025 17:31:47 +0000 (09:31 -0800)
committerNitzan Mordechai <nmordech@ibm.com>
Thu, 16 Apr 2026 17:18:53 +0000 (17:18 +0000)
commitccabb9a8dd4acb210e91c58efc4f0454562cb8e6
treec9490b6a37285a4e9b71bd8f482491c4fab51e70
parent29b90b36db67c6eadf4a5ecbc20beee225df6755
pybind/orchestrator,cephadm: replace CLICommandMeta

orchestrator and cephadm relied on CLICommandMeta to bypass the global
behavior of CLICommand.  That is no longer a problem, so replace
CLICommandMeta with OrchestratorCLICommandBase to preserve the magic
error wrapping.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 776abe4f87cdad368cccc4c3994ec8e4b5cdaf13)
src/pybind/mgr/cephadm/cli.py [new file with mode: 0644]
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/orchestrator/__init__.py
src/pybind/mgr/orchestrator/_interface.py
src/pybind/mgr/orchestrator/cli.py [new file with mode: 0644]
src/pybind/mgr/orchestrator/module.py