Fix the default filter_project name
Change-Id: I64a86c80e919b0306b4edbcea5daa03cb1197937
This commit is contained in:
@@ -198,7 +198,7 @@ class GnocchiPublisher(publisher.ConfigPublisherBase):
|
|||||||
# TODO(jd) allow to override Gnocchi endpoint via the host in the URL
|
# TODO(jd) allow to override Gnocchi endpoint via the host in the URL
|
||||||
options = urlparse.parse_qs(parsed_url.query)
|
options = urlparse.parse_qs(parsed_url.query)
|
||||||
|
|
||||||
self.filter_project = options.get('filter_project', [True])[-1]
|
self.filter_project = options.get('filter_project', ['service'])[-1]
|
||||||
|
|
||||||
resources_definition_file = options.get(
|
resources_definition_file = options.get(
|
||||||
'resources_definition_file', ['gnocchi_resources.yaml'])[-1]
|
'resources_definition_file', ['gnocchi_resources.yaml'])[-1]
|
||||||
|
|||||||
Reference in New Issue
Block a user