Make Distil Health check respect collection domains
Without this, when that config is set, the healthcheck will report uncollected projects that aren't being collected anymore. Change-Id: Ife60eee1400ec596565188b477d64f68b247fcec
This commit is contained in:
parent
4fe7f644f8
commit
4565122264
@ -43,7 +43,8 @@ def get_health():
|
||||
"""
|
||||
result = {}
|
||||
|
||||
projects_keystone = openstack.get_projects()
|
||||
projects_keystone = openstack.get_projects(
|
||||
domains=CONF.collector.include_domains)
|
||||
keystone_projects = [t['id'] for t in projects_keystone
|
||||
if t['name'] not in CONF.collector.ignore_tenants]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user