Merge "Use set_defaults from cors"

This commit is contained in:
Zuul 2018-10-12 15:24:27 +00:00 committed by Gerrit Code Review
commit 1282dc08bf
1 changed files with 1 additions and 3 deletions

View File

@ -39,9 +39,7 @@ def set_config_defaults():
def set_cors_middleware_defaults():
"""Update default configuration options for oslo.middleware."""
# TODO(krotscheck): Update with https://review.openstack.org/#/c/285368/
cfg.set_defaults(
cors.CORS_OPTS,
cors.set_defaults(
allow_headers=['X-Auth-Token',
MIN_VERSION_HEADER,
MAX_VERSION_HEADER,