Merge "Move pecan_debug into cfg section"
This commit is contained in:
commit
42d7c027d0
@ -20,12 +20,6 @@ from oslo_config import cfg
|
|||||||
from designate.api.v2 import patches
|
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):
|
def setup_app(pecan_config):
|
||||||
config = dict(pecan_config)
|
config = dict(pecan_config)
|
||||||
|
|
||||||
|
@ -20,12 +20,6 @@ from oslo_config import cfg
|
|||||||
from designate.api.v2 import patches
|
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):
|
def setup_app(pecan_config):
|
||||||
config = dict(pecan_config)
|
config = dict(pecan_config)
|
||||||
|
|
||||||
|
@ -50,6 +50,8 @@ API_OPTS = [
|
|||||||
"max_header_line may need to be increased when using "
|
"max_header_line may need to be increased when using "
|
||||||
"large tokens (typically those generated by the "
|
"large tokens (typically those generated by the "
|
||||||
"Keystone v3 API with big service catalogs)."),
|
"Keystone v3 API with big service catalogs)."),
|
||||||
|
cfg.BoolOpt('pecan_debug', default=False,
|
||||||
|
help='Pecan HTML Debug Interface'),
|
||||||
]
|
]
|
||||||
|
|
||||||
APT_V2_OPTS = [
|
APT_V2_OPTS = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user