]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix exception in get_smart_data_by_daemon
authorKiefer Chang <kiefer.chang@suse.com>
Wed, 18 Nov 2020 11:35:02 +0000 (19:35 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Wed, 18 Nov 2020 14:12:27 +0000 (22:12 +0800)
commitd2ddea5a79a54086c4ee104aea4f59f10d174735
treea0c0d22cdb3925b601e1ee905f97d2f8361eb100
parent50f580c6e3b8853e87a2046d3c80d0e51964929b
mgr/dashboard: fix exception in get_smart_data_by_daemon

- Fix string substitution exception.
- Add more test coverage.

Fixes: https://tracker.ceph.com/issues/48245
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
src/pybind/mgr/dashboard/requirements-lint.txt
src/pybind/mgr/dashboard/services/ceph_service.py
src/pybind/mgr/dashboard/tests/test_ceph_service.py