Merge "Remove unused [state] options"
This commit is contained in:
@@ -60,8 +60,6 @@ _opts = [
|
|||||||
cloudkitty.orchestrator.orchestrator_opts))),
|
cloudkitty.orchestrator.orchestrator_opts))),
|
||||||
('output', list(itertools.chain(
|
('output', list(itertools.chain(
|
||||||
cloudkitty.config.output_opts))),
|
cloudkitty.config.output_opts))),
|
||||||
('state', list(itertools.chain(
|
|
||||||
cloudkitty.config.state_opts))),
|
|
||||||
('storage', list(itertools.chain(
|
('storage', list(itertools.chain(
|
||||||
cloudkitty.storage.storage_opts))),
|
cloudkitty.storage.storage_opts))),
|
||||||
('storage_influxdb', list(itertools.chain(
|
('storage_influxdb', list(itertools.chain(
|
||||||
|
@@ -18,14 +18,6 @@ from oslo_db import options as db_options # noqa
|
|||||||
from oslo_messaging import opts # noqa
|
from oslo_messaging import opts # noqa
|
||||||
|
|
||||||
|
|
||||||
state_opts = [
|
|
||||||
cfg.StrOpt('backend',
|
|
||||||
default='cloudkitty.backend.file.FileBackend',
|
|
||||||
help='Backend for the state manager.'),
|
|
||||||
cfg.StrOpt('basepath',
|
|
||||||
default='/var/lib/cloudkitty/states/',
|
|
||||||
help='Storage directory for the file state backend.'), ]
|
|
||||||
|
|
||||||
output_opts = [
|
output_opts = [
|
||||||
cfg.StrOpt('backend',
|
cfg.StrOpt('backend',
|
||||||
default='cloudkitty.backend.file.FileBackend',
|
default='cloudkitty.backend.file.FileBackend',
|
||||||
@@ -38,7 +30,6 @@ output_opts = [
|
|||||||
help='Output pipeline'), ]
|
help='Output pipeline'), ]
|
||||||
|
|
||||||
|
|
||||||
cfg.CONF.register_opts(state_opts, 'state')
|
|
||||||
cfg.CONF.register_opts(output_opts, 'output')
|
cfg.CONF.register_opts(output_opts, 'output')
|
||||||
|
|
||||||
# oslo.db defaults
|
# oslo.db defaults
|
||||||
|
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The ``[state]`` configuration group has been removed, because all options
|
||||||
|
in this group have been unused.
|
Reference in New Issue
Block a user