]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/insights: make 'insights prune-health-history 0' zap current state
authorSage Weil <sage@redhat.com>
Thu, 30 Jan 2020 17:40:48 +0000 (11:40 -0600)
committerSage Weil <sage@redhat.com>
Thu, 30 Jan 2020 17:40:48 +0000 (11:40 -0600)
commit04f25b26c5aea5b4cf5cb94e939d6fba74228b27
treec694ecd2efe2ad9bd1a475d50ef8293dd68f3261
parent48526b90c7ea6a583ec014235d8ca7bd274747e7
mgr/insights: make 'insights prune-health-history 0' zap current state

The self._health_slot value needs to be updated too if the current key
is removed.

Fixes: https://tracker.ceph.com/issues/43886
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/insights/module.py