From: Kamoltat (Junior) Sirivadhna Date: Wed, 10 Jul 2019 20:56:31 +0000 (-0400) Subject: mgr/progress: added the time an event has been in progress X-Git-Tag: v15.1.0~2193^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=796effa1ca06e2fd162a9af1875daa6a48f4e9a7;p=ceph.git mgr/progress: added the time an event has been in progress forgot to add the file mgr_module.py to last commit so added this now Signed-off-by: Kamoltat (Junior) Sirivadhna --- diff --git a/src/pybind/mgr/mgr_module.py b/src/pybind/mgr/mgr_module.py index bdd0b26cc390..55fc98c42d88 100644 --- a/src/pybind/mgr/mgr_module.py +++ b/src/pybind/mgr/mgr_module.py @@ -1202,8 +1202,8 @@ class MgrModule(ceph_module.BaseMgrModule): return self._ceph_have_mon_connection() - def update_progress_event(self, evid, desc, progress): - return self._ceph_update_progress_event(str(evid), str(desc), float(progress)) + def update_progress_event(self, evid, desc, progress, duration): + return self._ceph_update_progress_event(str(evid), str(desc+" "+duration), float(progress)) def complete_progress_event(self, evid): return self._ceph_complete_progress_event(str(evid))