From: Sage Weil Date: Tue, 18 Feb 2020 22:09:42 +0000 (-0600) Subject: mgr/progress: 'progress clear' command should clear events in 'ceph -s' X-Git-Tag: v14.2.17~45^2~5^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F38416%2Fhead;p=ceph.git mgr/progress: 'progress clear' command should clear events in 'ceph -s' Signed-off-by: Sage Weil (cherry picked from commit 6f60d33115d2f583331d31b95a0a33b96a614f09) --- diff --git a/src/pybind/mgr/progress/module.py b/src/pybind/mgr/progress/module.py index adee58749a1..097943d8b9d 100644 --- a/src/pybind/mgr/progress/module.py +++ b/src/pybind/mgr/progress/module.py @@ -652,6 +652,7 @@ class Module(MgrModule): self._completed_events = [] self._dirty = True self._save() + self.clear_all_progress_events() def _handle_clear(self): self.clear()