]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: More robust handling of timedelta() representation
authorBrad Hubbard <bhubbard@redhat.com>
Fri, 24 Sep 2021 02:22:42 +0000 (12:22 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Fri, 24 Sep 2021 02:22:42 +0000 (12:22 +1000)
commitad1a4f2410393cab6ac728c4ddb79d111e252559
tree1630b60f2cf9f007d78c616a884a388b7995ac9b
parent86b9f0309431df8cec61caea553c825d3ad99fc9
mgr/dashboard: More robust handling of timedelta() representation

The representation of timedelta() appears to have changed recently so
we should try and be more accommodating in that regard.

Fixes: https://tracker.ceph.com/issues/52696
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/python-common/ceph/utils.py