diff --git a/watcher/api/scheduling.py b/watcher/api/scheduling.py index 3f72b0e88..3cdd05be8 100644 --- a/watcher/api/scheduling.py +++ b/watcher/api/scheduling.py @@ -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,