diff options
author | Stan Hu <stanhu@gmail.com> | 2019-08-14 00:14:23 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-08-14 00:14:23 +0300 |
commit | e2361565ceb1754bd63c2d98a5c1cfe134e93160 (patch) | |
tree | 4182258751958245b91e0e45701e374ed77aa53a /app/services | |
parent | f7ac41060c4432fa56a554250c72a04a197c3e05 (diff) | |
parent | 6150c3ff0d445c8aea1334b2547a4419be130ff5 (diff) |
Merge branch 'expand-variables-only-when-needed' into 'master'
Expand variables only when needed
See merge request gitlab-org/gitlab-ce!31772
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/update_deployment_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/update_deployment_service.rb b/app/services/update_deployment_service.rb index 49a7d0178f4..dcafebae52d 100644 --- a/app/services/update_deployment_service.rb +++ b/app/services/update_deployment_service.rb @@ -42,7 +42,7 @@ class UpdateDeploymentService return unless environment_url @expanded_environment_url = - ExpandVariables.expand(environment_url, variables) + ExpandVariables.expand(environment_url, -> { variables }) end def environment_url |