e86fb9dcce7f872c718829b416a1c8484fc4e962
Resolves the following warnings seen in the likes of nova:
DeprecationWarning: Please provide `is_available()` function in your
custom Eventlet hub <module 'oslo_service' from
'../oslo_service/__init__.py'>."
It must return bool: whether hub supports current platform. See
eventlet/hubs/{epoll,kqueue} for example.
Since we're simply taking the default hub provided by eventlet and
overriding a single attribute, we will always have support so set the
attribute.
Change-Id: I219cf652526802b8212fe8a8f6c499e9aa24a3cf
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Team and repository tags
oslo.service -- Library for running OpenStack services
oslo.service provides a framework for defining new long-running services using the patterns established by other OpenStack applications. It also includes utilities long-running applications might need for working with SSL or WSGI, performing periodic operations, interacting with systemd, etc.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslo.service/latest/
- Source: https://opendev.org/openstack/oslo.service
- Bugs: https://bugs.launchpad.net/oslo.service
- Release notes: https://docs.openstack.org/releasenotes/oslo.service/
Description
Languages
Python
100%