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>2022-05-22 18:08:25 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-22 18:08:25 +0300
commit8204ff6e6aa847be16381916c31157f3dee2560a (patch)
tree324754848c8517b4c9419b65c3848ef2ce2d2614 /app
parent551c35b623b4e0948de54e5762455b54dfb037d2 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app')
-rw-r--r--app/models/ci/sources/pipeline.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/ci/sources/pipeline.rb b/app/models/ci/sources/pipeline.rb
index f78caf710a6..2df504cd3de 100644
--- a/app/models/ci/sources/pipeline.rb
+++ b/app/models/ci/sources/pipeline.rb
@@ -7,10 +7,10 @@ module Ci
self.table_name = "ci_sources_pipelines"
- belongs_to :project, class_name: "Project"
+ belongs_to :project, class_name: "::Project"
belongs_to :pipeline, class_name: "Ci::Pipeline", inverse_of: :source_pipeline
- belongs_to :source_project, class_name: "Project", foreign_key: :source_project_id
+ belongs_to :source_project, class_name: "::Project", foreign_key: :source_project_id
belongs_to :source_job, class_name: "CommitStatus", foreign_key: :source_job_id
belongs_to :source_bridge, class_name: "Ci::Bridge", foreign_key: :source_job_id
belongs_to :source_pipeline, class_name: "Ci::Pipeline", foreign_key: :source_pipeline_id