From: Naman Munet Date: Tue, 17 Sep 2024 09:28:42 +0000 (+0530) Subject: mgr/dashboard: remove orch required decorator from host UI router (list) X-Git-Tag: v18.2.5~390^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F59852%2Fhead;p=ceph.git mgr/dashboard: remove orch required decorator from host UI router (list) https://tracker.ceph.com/issues/68101 Signed-off-by: Naman Munet (cherry picked from commit 21454d08484cefefef7803c250d4d0511ae4415b) --- diff --git a/src/pybind/mgr/dashboard/controllers/host.py b/src/pybind/mgr/dashboard/controllers/host.py index 0208bfb92d9..d2263b73238 100644 --- a/src/pybind/mgr/dashboard/controllers/host.py +++ b/src/pybind/mgr/dashboard/controllers/host.py @@ -515,8 +515,6 @@ class HostUi(BaseController): @Endpoint('GET') @ReadPermission - @raise_if_no_orchestrator([OrchFeature.HOST_LIST]) - @handle_orchestrator_error('host') def list(self): """ Get all hosts.