]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/restful: allow shutdown before we've fully started up
authorSage Weil <sage@redhat.com>
Wed, 4 Dec 2019 13:13:44 +0000 (07:13 -0600)
committerSage Weil <sage@redhat.com>
Wed, 4 Dec 2019 13:13:44 +0000 (07:13 -0600)
commit361b1906e99c33d3d79a9b00b0ec25f990258ecc
treec9cc6fe7dc41303864c575f63661a864871d0a13
parente58515227af1dbb9bfa4faa21a624643f280e292
mgr/restful: allow shutdown before we've fully started up

Sometimes we get shutdown() before self.server has been assigned.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/restful/module.py