Merge "Move pecan_debug into cfg section"

This commit is contained in:
Zuul 2019-12-16 19:33:31 +00:00 committed by Gerrit Code Review
commit 42d7c027d0
3 changed files with 2 additions and 12 deletions

View File

@ -20,12 +20,6 @@ from oslo_config import cfg
from designate.api.v2 import patches
cfg.CONF.register_opts([
cfg.BoolOpt('pecan_debug', default=False,
help='Pecan HTML Debug Interface'),
], group='service:api')
def setup_app(pecan_config):
config = dict(pecan_config)

View File

@ -20,12 +20,6 @@ from oslo_config import cfg
from designate.api.v2 import patches
cfg.CONF.register_opts([
cfg.BoolOpt('pecan_debug', default=False,
help='Pecan HTML Debug Interface'),
], group='service:api')
def setup_app(pecan_config):
config = dict(pecan_config)

View File

@ -50,6 +50,8 @@ API_OPTS = [
"max_header_line may need to be increased when using "
"large tokens (typically those generated by the "
"Keystone v3 API with big service catalogs)."),
cfg.BoolOpt('pecan_debug', default=False,
help='Pecan HTML Debug Interface'),
]
APT_V2_OPTS = [