Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-07-19 15:13:49 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-07-19 15:13:49 +0300
commitfd4fd25d3c1f81b669711755eda07089353b86b3 (patch)
tree4c7044c82cf9e1a53374f0b82ec3fee9edb4a74f /lib
parent3779d76d6ef8eec8eb335fd005bff7178a74c26e (diff)
Fix passing a hash with string keys when fabricating a variable
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/variables/collection/item.rb2
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