Merge "Update method cfg.set_defaults"

This commit is contained in:
Jenkins 2017-01-06 06:00:54 +00:00 committed by Gerrit Code Review
commit 0fd07288a5

View File

@ -1569,9 +1569,7 @@ def get_configuration_property(property_name):
def set_api_config_defaults():
"""This method updates all configuration default values."""
# CORS Middleware Defaults
# TODO(krotscheck): Update with https://review.openstack.org/#/c/285368/
cfg.set_defaults(cors.CORS_OPTS,
cors.set_defaults(
allow_headers=['X-Auth-Token',
'X-Identity-Status',
'X-Roles',