Browse Source

Merge "Use set_defaults from cors"

Zuul 6 months ago
parent
commit
1282dc08bf
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      ironic_inspector/conf/opts.py

+ 1
- 3
ironic_inspector/conf/opts.py View File

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

Loading…
Cancel
Save