diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-25 14:22:04 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-25 14:22:04 +0300 |
commit | 1209f4f671c290ce6c577c0ff16ad7f9ea8b6271 (patch) | |
tree | 2ae6348172a07e1935c4bd1e2c777e7c809d0722 /app/models/ci/pipeline.rb | |
parent | f55f925501d67579b9e30f19156be7005af86078 (diff) |
Move related pipeline class to new pipeline module
Diffstat (limited to 'app/models/ci/pipeline.rb')
-rw-r--r-- | app/models/ci/pipeline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb index acaa028eaa2..3d5acc00f8f 100644 --- a/app/models/ci/pipeline.rb +++ b/app/models/ci/pipeline.rb @@ -434,7 +434,7 @@ module Ci def update_duration return unless started_at - self.duration = Gitlab::Ci::PipelineDuration.from_pipeline(self) + self.duration = Gitlab::Ci::Pipeline::Duration.from_pipeline(self) end def execute_hooks |