Merge "Remove unused [state] options"

This commit is contained in:
Zuul
2025-09-15 14:09:34 +00:00
committed by Gerrit Code Review
3 changed files with 5 additions and 11 deletions

View File

@@ -60,8 +60,6 @@ _opts = [
cloudkitty.orchestrator.orchestrator_opts))),
('output', list(itertools.chain(
cloudkitty.config.output_opts))),
('state', list(itertools.chain(
cloudkitty.config.state_opts))),
('storage', list(itertools.chain(
cloudkitty.storage.storage_opts))),
('storage_influxdb', list(itertools.chain(

View File

@@ -18,14 +18,6 @@ from oslo_db import options as db_options # 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 = [
cfg.StrOpt('backend',
default='cloudkitty.backend.file.FileBackend',
@@ -38,7 +30,6 @@ output_opts = [
help='Output pipeline'), ]
cfg.CONF.register_opts(state_opts, 'state')
cfg.CONF.register_opts(output_opts, 'output')
# oslo.db defaults

View File

@@ -0,0 +1,5 @@
---
upgrade:
- |
The ``[state]`` configuration group has been removed, because all options
in this group have been unused.