summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mon/MgrMonitor.cc3
-rw-r--r--src/pybind/mgr/dashboard/controllers/feedback.py4
-rw-r--r--src/pybind/mgr/dashboard/openapi.yaml2
3 files changed, 4 insertions, 5 deletions
diff --git a/src/mon/MgrMonitor.cc b/src/mon/MgrMonitor.cc
index 2b1b5cba3c1..86fa755bc5a 100644
--- a/src/mon/MgrMonitor.cc
+++ b/src/mon/MgrMonitor.cc
@@ -106,7 +106,6 @@ const static std::map<uint32_t, std::set<std::string>> always_on_modules = {
"progress",
"balancer",
"devicehealth",
- "feedback",
"orchestrator",
"rbd_support",
"volumes",
@@ -462,7 +461,7 @@ public:
mm(a), op(c) {}
void finish(int r) override {
if (r >= 0) {
- // Success
+ // Success
} else if (r == -ECANCELED) {
mm->mon.no_reply(op);
} else {
diff --git a/src/pybind/mgr/dashboard/controllers/feedback.py b/src/pybind/mgr/dashboard/controllers/feedback.py
index 3b3474d39ea..c75ffa94a89 100644
--- a/src/pybind/mgr/dashboard/controllers/feedback.py
+++ b/src/pybind/mgr/dashboard/controllers/feedback.py
@@ -8,7 +8,7 @@ from ._version import APIVersion
@APIRouter('/feedback', Scope.CONFIG_OPT)
-@APIDoc("Feedback", "Report")
+@APIDoc("Feedback API", "Report")
class FeedbackController(RESTController):
@RESTController.MethodMap(version=APIVersion.EXPERIMENTAL)
@@ -52,7 +52,7 @@ class FeedbackController(RESTController):
@APIRouter('/feedback/api_key', Scope.CONFIG_OPT)
-@APIDoc("Feedback API", "Report")
+@APIDoc(group="Report")
class FeedbackApiController(RESTController):
@RESTController.MethodMap(version=APIVersion.EXPERIMENTAL)
diff --git a/src/pybind/mgr/dashboard/openapi.yaml b/src/pybind/mgr/dashboard/openapi.yaml
index bc4292876a9..c05831eb77f 100644
--- a/src/pybind/mgr/dashboard/openapi.yaml
+++ b/src/pybind/mgr/dashboard/openapi.yaml
@@ -10517,7 +10517,7 @@ tags:
name: RbdSnapshot
- description: RBD Trash Management API
name: RbdTrash
-- description: Feedback
+- description: Feedback API
name: Report
- description: RGW Management API
name: Rgw