]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: fix typo in get_collect_time_metrics 40181/head
authorSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 20:10:42 +0000 (15:10 -0500)
committerSage Weil <sage@newdream.net>
Wed, 17 Mar 2021 13:54:37 +0000 (08:54 -0500)
commit836d9bab2783c4fb2e2972f34a8e60b9a911737a
tree897ac77bbd75bf7ffae5661a4ab5df67e0e28585
parent08ab4ae8836f18f5631f6d91fdac3d264a7027ea
mgr/prometheus: fix typo in get_collect_time_metrics

This causes a failure the first time through this function, but
subsequent calls succeed, making it a bit hard to notice.

Fixes: 58fd057e2c8799fa000b9937aa992e13cbbd485f
Fixes: https://tracker.ceph.com/issues/49846
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit c80b944fd4f32dea6a153375d9bdeb4a6e1d0b4c)
src/pybind/mgr/prometheus/module.py