Move pecan_debug into cfg section

Change-Id: If3122f4719b1d52c5972e2d7869b521822de9422
This commit is contained in:
Erik Olof Gunnar Andersson 2019-10-20 21:11:51 -07:00
parent d9fb34767c
commit 4301bbcf8a
3 changed files with 2 additions and 12 deletions
designate
api
conf

@ -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)

@ -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)

@ -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 = [