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:
Diffstat (limited to 'app/models/ci/running_build.rb')
-rw-r--r--app/models/ci/running_build.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/models/ci/running_build.rb b/app/models/ci/running_build.rb
index 9446cfa05da..ae38d54862d 100644
--- a/app/models/ci/running_build.rb
+++ b/app/models/ci/running_build.rb
@@ -1,9 +1,7 @@
# frozen_string_literal: true
module Ci
- class RunningBuild < ApplicationRecord
- extend Gitlab::Ci::Model
-
+ class RunningBuild < Ci::ApplicationRecord
belongs_to :project
belongs_to :build, class_name: 'Ci::Build'
belongs_to :runner, class_name: 'Ci::Runner'