]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 2 Nov 2021 09:01:19 +0000 (10:01 +0100)
commit9f70f884dd5c59b0f37300084a898d000013b659
treee6d6486a481f738042daa96eb25c24700df62f20
parent2c7d97406c79c48d394203c149f4c5efdb6d4eac
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>
(cherry picked from commit ad1a4f2410393cab6ac728c4ddb79d111e252559)
src/python-common/ceph/utils.py