diff --git a/cloudkitty/common/config.py b/cloudkitty/common/config.py index f9dcba8f..8fef26af 100644 --- a/cloudkitty/common/config.py +++ b/cloudkitty/common/config.py @@ -43,6 +43,8 @@ _opts = [ cloudkitty.collector.gnocchi.collector_gnocchi_opts))), ('collector_monasca', list(itertools.chain( cloudkitty.collector.monasca.collector_monasca_opts))), + ('fetcher', list(itertools.chain( + cloudkitty.fetcher.fetcher_opts))), ('fetcher_gnocchi', list(itertools.chain( cloudkitty.fetcher.gnocchi.gfetcher_opts, cloudkitty.fetcher.gnocchi.fetcher_gnocchi_opts))), diff --git a/cloudkitty/fetcher/__init__.py b/cloudkitty/fetcher/__init__.py index b329673f..4c948508 100644 --- a/cloudkitty/fetcher/__init__.py +++ b/cloudkitty/fetcher/__init__.py @@ -22,13 +22,13 @@ from oslo_config import cfg FETCHER_OPTS = 'fetcher' DEPRECATED_FETCHER_OPTS = 'tenant_fetcher' -fetchers_opts = [ +fetcher_opts = [ cfg.StrOpt('backend', default='keystone', - help='Driver used to fetch tenant list.', - deprecated_group=DEPRECATED_FETCHER_OPTS) + help='Driver used to fetch the list of scopes to rate.', + deprecated_group=DEPRECATED_FETCHER_OPTS), ] -cfg.CONF.register_opts(fetchers_opts, 'fetcher') +cfg.CONF.register_opts(fetcher_opts, 'fetcher') @six.add_metaclass(abc.ABCMeta)