diff options
author | Julien Danjou <julien@danjou.info> | 2016-11-28 15:35:33 +0100 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2016-12-01 11:16:12 +0100 |
commit | 6feaa13610c450c8486f969703768db5319b4846 (patch) | |
tree | 7adcbbb187d0a39b91b67a80199020616ec6079c /setup.cfg | |
parent | 24325269f866ddf90369508daa180bbdf44fe589 (diff) | |
download | oslo-middleware-6feaa13610c450c8486f969703768db5319b4846.tar.gz |
Transform healthcheck from filter to an application3.22.0
The healthcheck middleware has actually wrongly been designed as a
filter, whereas it is its own application.
This patch fixes that by exporting the healthcheck middleware as an
application, while keeping the old behaviour for compatibility with
existing deployment.
Change-Id: I1ff43c71449f1955267faf6a85f4d70f705db097
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,6 +36,9 @@ oslo.middleware.healthcheck = disable_by_file = oslo_middleware.healthcheck.disable_by_file:DisableByFileHealthcheck disable_by_files_ports = oslo_middleware.healthcheck.disable_by_file:DisableByFilesPortsHealthcheck +paste.app_factory = + healthcheck = oslo_middleware:Healthcheck.app_factory + paste.filter_factory = catch_errors = oslo_middleware:CatchErrors.factory correlation_id = oslo_middleware:CorrelationId.factory |