]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/progress: fix duration strings 34045/head
authorSage Weil <sage@redhat.com>
Thu, 19 Mar 2020 00:04:14 +0000 (19:04 -0500)
committerSage Weil <sage@redhat.com>
Thu, 19 Mar 2020 00:04:14 +0000 (19:04 -0500)
commit555926714ca7283dfc0dae6d00185f0ab9f6b509
tree4b15af69e47ed4bc35cd69f9aa200b86422e2ccb
parent610ec12ac249dff71af326cc3dfb2a9b2ff3a59f
mgr/progress: fix duration strings

- simplify the code to just calculate the durations when we need them
(I'm not sure why we had those temporary strings!)
- use a nicer time delta format

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