]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr/devicehealth: do not crash if db not ready
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 31 May 2023 13:37:23 +0000 (09:37 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Sat, 10 Jun 2023 14:38:48 +0000 (10:38 -0400)
commit30570686cd73ff434e6ef41c2a5e1a5d3dd15e37
tree6d9f963c9beaffb95e525c429dc54250a9d498f8
parent219d315c3a0b2075e570fb1964be2ad33fe7a9c8
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>
src/pybind/mgr/devicehealth/module.py