]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/devicehealth: do not crash if db not ready 52215/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 31 May 2023 13:37:23 +0000 (09:37 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 27 Jun 2023 18:15:06 +0000 (14:15 -0400)
commit435ab732004b3976c9c8ba54dc3b3db7492b377c
treede093bdb1f332e9b8acfe0621fec8bb15bae6eb6
parente1900c40c6e3837d137496ba798ab6f9035488fd
pybind/mgr/devicehealth: do not crash if db not ready

This is a remote method called by telemtry so the @CLIRequiresDB
decorator isn't appropriate.

Fixes: https://tracker.ceph.com/issues/56239
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 30570686cd73ff434e6ef41c2a5e1a5d3dd15e37)
src/pybind/mgr/devicehealth/module.py