From: Laura Flores Date: Mon, 2 Aug 2021 21:18:50 +0000 (+0000) Subject: mgr/telemetry: fix issue with ctest 23 - run-rbd-unit-tests-109.sh X-Git-Tag: v17.1.0~1008^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=278cde8d725fb13c13ab9cecf1b47817a530d019;p=ceph.git mgr/telemetry: fix issue with ctest 23 - run-rbd-unit-tests-109.sh Signed-off-by: Laura Flores --- diff --git a/src/pybind/mgr/telemetry/module.py b/src/pybind/mgr/telemetry/module.py index 413ba6a6caa8..b88adfee0d1c 100644 --- a/src/pybind/mgr/telemetry/module.py +++ b/src/pybind/mgr/telemetry/module.py @@ -334,7 +334,7 @@ class Module(MgrModule): curr_pool_id, curr_pool_name = curr_pool[0], curr_pool[1] # Initialize a dict that will hold aggregated stats for the current pool - compiled_stats_dict: Dict[str, Any] = defaultdict(lambda: defaultdict()) + compiled_stats_dict: Dict[str, Any] = defaultdict(lambda: defaultdict(int)) # Find out which pgs belong to the current pool and add up # their stats