From 4ef772dde80395840e7720e8705b247472eb9159 Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Thu, 3 May 2018 14:25:30 +0200 Subject: [PATCH] mgr: Expose pg_sum in pg_summary Signed-off-by: Boris Ranto (cherry picked from commit 6f2a85e3b312dc60b009bcb509f5983905e802e5) --- src/mgr/ActivePyModules.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mgr/ActivePyModules.cc b/src/mgr/ActivePyModules.cc index 82f845091cf..969904bc8ac 100644 --- a/src/mgr/ActivePyModules.cc +++ b/src/mgr/ActivePyModules.cc @@ -260,6 +260,9 @@ PyObject *ActivePyModules::get_python(const std::string &what) f.dump_int(i.first.c_str(), i.second); } f.close_section(); + f.open_object_section("pg_stats_sum"); + pg_map.pg_sum.dump(&f); + f.close_section(); } ); return f.get(); -- 2.47.3