Limit ssl deprecation warning to external importers
Closes-Bug: #1629671 Change-Id: I946ee89d9f078e2a766a2b0c89141d067c483cfa
This commit is contained in:
parent
11b2704b75
commit
48ca3bda09
@ -24,10 +24,6 @@ OPTS = [
|
||||
]
|
||||
|
||||
|
||||
removals.removed_module(__name__,
|
||||
"oslo_middleware.http_proxy_to_wsgi")
|
||||
|
||||
|
||||
class SSLMiddleware(base.ConfigurableMiddleware):
|
||||
"""SSL termination proxies middleware.
|
||||
|
||||
@ -37,6 +33,7 @@ class SSLMiddleware(base.ConfigurableMiddleware):
|
||||
"""
|
||||
|
||||
def __init__(self, application, *args, **kwargs):
|
||||
removals.removed_module(__name__, "oslo_middleware.http_proxy_to_wsgi")
|
||||
super(SSLMiddleware, self).__init__(application, *args, **kwargs)
|
||||
self.oslo_conf.register_opts(OPTS, group='oslo_middleware')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user