diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-10-02 15:56:56 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-10-02 15:56:56 +0200 |
commit | 23512484ef08557b39ef82d0b767b76a33111308 (patch) | |
tree | 14c5f92e5f131ae215301c3ad1fa2703b5c2c136 /lib/gitlab/ci/config/entry/policy.rb | |
parent | c945112093d28437d3de6a75a3e4983be7198afe (diff) | |
download | gitlab-ce-23512484ef08557b39ef82d0b767b76a33111308.tar.gz |
Freeze mutable constant in CI entry policy class
Diffstat (limited to 'lib/gitlab/ci/config/entry/policy.rb')
-rw-r--r-- | lib/gitlab/ci/config/entry/policy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/config/entry/policy.rb b/lib/gitlab/ci/config/entry/policy.rb index 6ba2d9bbf50..c92562f8c85 100644 --- a/lib/gitlab/ci/config/entry/policy.rb +++ b/lib/gitlab/ci/config/entry/policy.rb @@ -25,7 +25,7 @@ module Gitlab include Entry::Validatable include Entry::Attributable - ALLOWED_KEYS = %i[refs kubernetes variables changes] + ALLOWED_KEYS = %i[refs kubernetes variables changes].freeze attributes :refs, :kubernetes, :variables, :changes validations do |