]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
node-proxy: drop dispatch() in NodeProxy()
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 20 Oct 2023 09:21:16 +0000 (09:21 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 15:09:59 +0000 (15:09 +0000)
commit6b62105720aef69f65cda250d8388faf1972a2e3
treef6fdb85d03eaf5168509d4a65777d9a8e73cfbb3
parentfe9453b51e751f85bbb39877e7ddffad40c8b01e
node-proxy: drop dispatch() in NodeProxy()

The current logic prevents from using any cherrypy decorators
on actual endpoints as we use a set of 'proxy functions'
(index and dispatch) instead.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 1ec59e6625bae7cd381d83817196bf8669f641ad)
src/pybind/mgr/cephadm/agent.py
src/pybind/mgr/cephadm/inventory.py