diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-08-17 13:43:12 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-09-04 15:17:01 +0300 |
commit | a24d4b3c674452ecb63f5a250b619362cc24630c (patch) | |
tree | efd1af6551b2d398488fd6445e378331e1fe8dea /lib | |
parent | fe08bdf3961c6bc7db038b3c4e7c3e7d65d2344d (diff) |
Use deep_dup to duplicate hash in CI/CD extendable config
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/config/extendable/collection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/config/extendable/collection.rb b/lib/gitlab/ci/config/extendable/collection.rb index cdc8eb6614d..b57b3aa5d47 100644 --- a/lib/gitlab/ci/config/extendable/collection.rb +++ b/lib/gitlab/ci/config/extendable/collection.rb @@ -10,7 +10,7 @@ module Gitlab CircularDependencyError = Class.new(ExtensionError) def initialize(hash) - @hash = hash.dup + @hash = hash.deep_dup each { |entry| entry.extend! if entry.extensible? } end |