Commit 1d35e510 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch...

Merge branch '217657-follow-up-from-resolve-alert-management-severity-should-be-ingested-by-alerts-endpoint' into 'master'

Remove unnecessary freeze of string literals

Closes #217657

See merge request gitlab-org/gitlab!32492
parents 47ef12d4 7607695a
...@@ -5,8 +5,8 @@ module Gitlab ...@@ -5,8 +5,8 @@ module Gitlab
class NotificationPayloadParser class NotificationPayloadParser
BadPayloadError = Class.new(StandardError) BadPayloadError = Class.new(StandardError)
DEFAULT_TITLE = 'New: Incident'.freeze DEFAULT_TITLE = 'New: Incident'
DEFAULT_SEVERITY = 'critical'.freeze DEFAULT_SEVERITY = 'critical'
def initialize(payload) def initialize(payload)
@payload = payload.to_h.with_indifferent_access @payload = payload.to_h.with_indifferent_access
......
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