diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-07-19 14:13:49 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-07-19 14:13:49 +0200 |
commit | fd4fd25d3c1f81b669711755eda07089353b86b3 (patch) | |
tree | 4c7044c82cf9e1a53374f0b82ec3fee9edb4a74f /lib | |
parent | 3779d76d6ef8eec8eb335fd005bff7178a74c26e (diff) | |
download | gitlab-ce-fd4fd25d3c1f81b669711755eda07089353b86b3.tar.gz |
Fix passing a hash with string keys when fabricating a variable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/variables/collection/item.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/variables/collection/item.rb b/lib/gitlab/ci/variables/collection/item.rb index 222aa06b800..7da6d09d440 100644 --- a/lib/gitlab/ci/variables/collection/item.rb +++ b/lib/gitlab/ci/variables/collection/item.rb @@ -34,7 +34,7 @@ module Gitlab def self.fabricate(resource) case resource when Hash - self.new(resource) + self.new(resource.symbolize_keys) when ::HasVariable self.new(resource.to_runner_variable) when self |