]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr: check for empty metadata mgr_module:get_metadata() 47814/head
authorVenky Shankar <vshankar@redhat.com>
Fri, 26 Aug 2022 08:59:19 +0000 (04:59 -0400)
committerVenky Shankar <vshankar@redhat.com>
Fri, 26 Aug 2022 09:04:51 +0000 (14:34 +0530)
commit42ee5145a2ad9eec0822e1341cc3c5bd9ca2aae8
tree8912d556a0c5ffb4d29967bfd733c46ddf511a85
parentb826e0cba6cef83991237ef4be6046748bea31ab
pybind/mgr: check for empty metadata mgr_module:get_metadata()

... rather than just None - looks like we could get back an
empty dictionary when the metadata isn't populated (which is
asynchronous).

Fixes: http://tracker.ceph.com/issues/57072
Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/pybind/mgr/mgr_module.py