Commit 2356e77e authored by syasonik's avatar syasonik

More Rubocop

parent 811c4896
......@@ -4,7 +4,7 @@ module EE
module Gitlab
module MetricsDashboard
module Processor
extend ::Gitlab::Utils::Override
extend ::Gitlab::Utils::Override
EE_SEQUENCE = [
Stages::AlertsInserter
......
......@@ -25,9 +25,8 @@ module EE
alerts = ::Projects::Prometheus::AlertsFinder
.new(project: project, environment: environment)
.execute
.pluck(:prometheus_metric_id)
@metrics_with_alerts = Set.new(alerts)
@metrics_with_alerts = Set.new(alerts.map(&:prometheus_metric_id))
end
def alert_path(metric_id, project, environment)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment