summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-03-30 11:29:05 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-03-30 11:29:05 +0200
commitc05d79172cd489ff914ab9378cbb4006779a40e8 (patch)
treeb7b19d1c2d2b454eb90db33c5e6f5f2821ca347c
parent0a203f408786ae2e28616a0e1bf488595f7f115b (diff)
downloadgitlab-ce-c05d79172cd489ff914ab9378cbb4006779a40e8.tar.gz
Fix build variables policy after renaming methods
-rw-r--r--lib/gitlab/ci/build/policy/variables.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/build/policy/variables.rb b/lib/gitlab/ci/build/policy/variables.rb
index 8f1a7225da1..9d2a362b7d4 100644
--- a/lib/gitlab/ci/build/policy/variables.rb
+++ b/lib/gitlab/ci/build/policy/variables.rb
@@ -8,7 +8,7 @@ module Gitlab
end
def satisfied_by?(pipeline, seed)
- variables = seed.to_resource.variables_hash
+ variables = seed.to_resource.scoped_variables_hash
statements = @expressions.map do |statement|
::Gitlab::Ci::Pipeline::Expression::Statement