From f410c49e609ce883c76d7277c133f5c64a8eeb53 Mon Sep 17 00:00:00 2001 From: stzuraski898 Date: Thu, 16 Apr 2026 21:56:53 +0000 Subject: [PATCH] mgr: Properly set description in labeled get_perf_schema_python Fixes: https://tracker.ceph.com/issues/76048 Signed-off-by: stzuraski898 --- src/mgr/ActivePyModules.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mgr/ActivePyModules.cc b/src/mgr/ActivePyModules.cc index fcef67daa37..431da2c76ca 100644 --- a/src/mgr/ActivePyModules.cc +++ b/src/mgr/ActivePyModules.cc @@ -1141,7 +1141,7 @@ PyObject* ActivePyModules::get_perf_schema_python( size_t pos = type.path.rfind('.'); std::string sub_counter_name = type.path.substr(pos + 1, type.path.length()); Formatter::ObjectSection counter_section(*f, sub_counter_name); - f->create_unique("description", type.description); + f->dump_string("description", type.description); if (!type.nick.empty()) { f->dump_string("nick", type.nick); } -- 2.47.3