Commit 3f6835d5 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Freeze mutable constant in pipeline presenter

parent 6c740324
module EE module EE
module Ci module Ci
module Pipeline module Pipeline
EE_FAILURE_REASONS = { EE_FAILURE_REASONS = {
activity_limit_exceeded: 20, activity_limit_exceeded: 20,
size_limit_exceeded: 21 size_limit_exceeded: 21
......
...@@ -4,7 +4,7 @@ module EE ...@@ -4,7 +4,7 @@ module EE
EE_FAILURE_REASONS = { EE_FAILURE_REASONS = {
activity_limit_exceeded: 'Pipeline activity limit exceeded!', activity_limit_exceeded: 'Pipeline activity limit exceeded!',
size_limit_exceeded: 'Pipeline size limit exceeded!' size_limit_exceeded: 'Pipeline size limit exceeded!'
} }.freeze
end end
end end
end end
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