summaryrefslogtreecommitdiff
path: root/app/services/projects/prometheus/alerts/update_service.rb
blob: 1802f35dae9b4a9e2beed599da915045807125f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Projects
  module Prometheus
    module Alerts
      class UpdateService < BaseProjectService
        include AlertParams

        def execute(alert)
          alert.update(alert_params)
        end
      end
    end
  end
end