deprecate config option "fatal_exception_format_errors"
The config option "fatal_exception_format_errors" got introduced purely for testing purposes with commit 2e80b297. This isn't an option the ops would change from it's default value. This change deprecates the option. When this option gets removed in the future, we can hardcode that wrong formats should be fatal by default, as it is already set today in "nova/conf_fixture.py". Change-Id: I184b1b1cbd85f136cee120965e38e2ef87bb66ff
This commit is contained in:
parent
a31505fd62
commit
6919b25ce0
@ -18,7 +18,9 @@ from oslo_config import cfg
|
||||
exc_log_opts = [
|
||||
cfg.BoolOpt('fatal_exception_format_errors',
|
||||
default=False,
|
||||
help='Make exception message format errors fatal'),
|
||||
deprecated_for_removal=True,
|
||||
deprecated_reason='This is only used for internal testing.',
|
||||
help='DEPRECATED: Make exception message format errors fatal'),
|
||||
]
|
||||
|
||||
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
deprecations:
|
||||
- The ``fatal_exception_format_errors`` config option is now deprecated and
|
||||
may be removed as early as the 15.0.0 release. It is an option which was
|
||||
only relevant for Nova internal testing purposes to ensure that errors in
|
||||
formatted exception messages got detected.
|
Loading…
x
Reference in New Issue
Block a user