Merge "Fixing skipped default override for CORS options"

This commit is contained in:
Zuul 2024-02-01 16:52:19 +00:00 committed by Gerrit Code Review
commit ffff0e1dbf
3 changed files with 11 additions and 0 deletions

View File

@ -48,6 +48,7 @@ def main():
CONF(sys.argv[1:], project='manila',
version=version.version_string())
config.verify_share_protocols()
config.set_lib_defaults()
log.setup(CONF, "manila")
utils.monkey_patch()

View File

@ -35,6 +35,7 @@ def initialize_application():
gmr_opts.set_defaults(CONF)
CONF(sys.argv[1:], project="manila", version=version.version_string())
config.verify_share_protocols()
config.set_lib_defaults()
log.setup(CONF, "manila")
gmr.TextGuruMeditation.setup_autorun(version, conf=CONF)

View File

@ -0,0 +1,9 @@
---
fixes:
- |
`bug 2051691 <https://bugs.launchpad.net/manila/+bug/2051691>`_: Fixed
the default values of the following options.
- ``[cors] allowed_headers``
- ``[cors] expose_headers``
- ``[cors] allow_methods``