diff options
Diffstat (limited to 'app/workers/prometheus')
-rw-r--r-- | app/workers/prometheus/create_default_alerts_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/prometheus/create_default_alerts_worker.rb b/app/workers/prometheus/create_default_alerts_worker.rb index 0dba752ced1..9d163cd828e 100644 --- a/app/workers/prometheus/create_default_alerts_worker.rb +++ b/app/workers/prometheus/create_default_alerts_worker.rb @@ -15,7 +15,7 @@ module Prometheus return unless project - result = Prometheus::CreateDefaultAlertsService.new(project: project).execute + result = ::Prometheus::CreateDefaultAlertsService.new(project: project).execute log_info(result.message) if result.error? end |