From 796effa1ca06e2fd162a9af1875daa6a48f4e9a7 Mon Sep 17 00:00:00 2001 From: "Kamoltat (Junior) Sirivadhna" Date: Wed, 10 Jul 2019 16:56:31 -0400 Subject: [PATCH] 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 --- src/pybind/mgr/mgr_module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.47.3