Fix the default filter_project name

Change-Id: I64a86c80e919b0306b4edbcea5daa03cb1197937
This commit is contained in:
Mehdi Abaakouk 2018-09-07 16:11:56 +02:00
parent 0c69979e0f
commit d480273cf3
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ class GnocchiPublisher(publisher.ConfigPublisherBase):
# TODO(jd) allow to override Gnocchi endpoint via the host in the URL
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', ['gnocchi_resources.yaml'])[-1]