yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92340
[Bug 1937901] Re: healthcheck middleware should be deployed as app instead of filter
Reviewed: https://review.opendev.org/c/openstack/glance/+/802148
Committed: https://opendev.org/openstack/glance/commit/fa9450d5b58866e4a6b928995a8bf18b4bb8f0c7
Submitter: "Zuul (22348)"
Branch: master
commit fa9450d5b58866e4a6b928995a8bf18b4bb8f0c7
Author: Takashi Kajinami <tkajinam@xxxxxxxxxx>
Date: Fri Jul 23 20:53:24 2021 +0900
Deploy healthcheck middleware as app instead of filter
Using the healthcheck middleware as a filter is deprecated and
the middleware should be used as an application[1].
[1] 6feaa13610c450c8486f969703768db5319b4846
This change updates definition and usage of the healthcheck middleware
accordingly to avoid the following deprecation warning.
DeprecationWarning: Using function/method 'Healthcheck.factory()' is
deprecated: The healthcheck middleware must now be configured as
an application, not as a filter.
Closes-Bug: #1937901
Change-Id: Id41e0313a481bea4e2bb14c69f2ad8a2070aa9be
** Changed in: glance
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1937901
Title:
healthcheck middleware should be deployed as app instead of filter
Status in Glance:
Fix Released
Bug description:
Since oslo.middleware 3.22.0[1], deploying healtcheck middleware as a
filter is deprecated and it should be deployed as an app.
[1] https://review.opendev.org/c/openstack/oslo.middleware/+/403734
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1937901/+subscriptions
References