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
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-08-14 00:14:23 +0300
committerStan Hu <stanhu@gmail.com>2019-08-14 00:14:23 +0300
commite2361565ceb1754bd63c2d98a5c1cfe134e93160 (patch)
tree4182258751958245b91e0e45701e374ed77aa53a /app/services
parentf7ac41060c4432fa56a554250c72a04a197c3e05 (diff)
parent6150c3ff0d445c8aea1334b2547a4419be130ff5 (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.rb2
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