Commit 23512484 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Freeze mutable constant in CI entry policy class

parent c9451120
...@@ -25,7 +25,7 @@ module Gitlab ...@@ -25,7 +25,7 @@ module Gitlab
include Entry::Validatable include Entry::Validatable
include Entry::Attributable include Entry::Attributable
ALLOWED_KEYS = %i[refs kubernetes variables changes] ALLOWED_KEYS = %i[refs kubernetes variables changes].freeze
attributes :refs, :kubernetes, :variables, :changes attributes :refs, :kubernetes, :variables, :changes
validations do validations do
......
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