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/app
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2024-01-11 06:08:52 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2024-01-11 06:08:52 +0300
commit988f8190b39847793faba06375973f8d4a024426 (patch)
treebad08d45ee4c080e8631240e8083cd3cfeda088c /app
parenta18ca85c05efe431c3a1faf6c9f4257638b73493 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app')
-rw-r--r--app/models/deployment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/deployment.rb b/app/models/deployment.rb
index 66456413a98..1fff089451d 100644
--- a/app/models/deployment.rb
+++ b/app/models/deployment.rb
@@ -231,7 +231,7 @@ class Deployment < ApplicationRecord
##
# FastDestroyAll concerns
def begin_fast_destroy
- preload(:project).find_each.map do |deployment|
+ preload(:project, :environment).find_each.map do |deployment|
[deployment.project, deployment.ref_path]
end
end