]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix broken feature toggles 40474/head
authorErnesto Puerta <epuertat@redhat.com>
Wed, 17 Mar 2021 16:31:53 +0000 (17:31 +0100)
committerAlfonso Martínez <almartin@redhat.com>
Mon, 29 Mar 2021 14:58:54 +0000 (16:58 +0200)
commit35ca939e1c1a2ab8919c5e6faaf5849e915ee666
tree0a252edfff46138cab60984a8a3c4fd23e94bff7
parent7e7e1f4ed3cc94c90a0e806a8c52e1798323bcc0
mgr/dashboard: fix broken feature toggles

Fixes the feature toggles functionality broken in the refactoring of the
CLI commands (3c431a54d96ebc9bdb911161468d0f6bedbbcbfe, PR #38722).

Fixes: https://tracker.ceph.com/issues/49869
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 005348ae76613b07767e95d86b4aa1d828221c0f)
src/pybind/mgr/dashboard/plugins/feature_toggles.py
src/pybind/mgr/dashboard/tests/test_feature_toggles.py