diff --git a/designate/api/admin/app.py b/designate/api/admin/app.py index 9881c5328..a687e2d59 100644 --- a/designate/api/admin/app.py +++ b/designate/api/admin/app.py @@ -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) diff --git a/designate/api/v2/app.py b/designate/api/v2/app.py index b7ab9e28d..1596d4fec 100644 --- a/designate/api/v2/app.py +++ b/designate/api/v2/app.py @@ -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) diff --git a/designate/conf/api.py b/designate/conf/api.py index f102037ca..ddff21dda 100644 --- a/designate/conf/api.py +++ b/designate/conf/api.py @@ -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 = [