Merge "only check decision engine service"

This commit is contained in:
Zuul
2018-08-03 08:15:51 +00:00
committed by Gerrit Code Review

View File

@@ -52,7 +52,8 @@ class APISchedulingService(scheduling.BackgroundSchedulerService):
self.services_status[service.id] = result
notifications.service.send_service_update(context, service,
state=result)
if result == failed_s:
if (result == failed_s) and (
service.name == 'watcher-decision-engine'):
audit_filters = {
'audit_type': objects.audit.AuditType.CONTINUOUS.value,
'state': objects.audit.State.ONGOING,