summaryrefslogtreecommitdiff
path: root/lib/ci/charts.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-02 16:19:18 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-02 16:59:04 +0200
commit021d3810c300d1e0514f21ccb6f1439f59e20565 (patch)
tree771a663395f39530559c73016f26087a0489fae2 /lib/ci/charts.rb
parent5accd87ad7b0d960e504910d896a832288e51c8d (diff)
downloadgitlab-ce-021d3810c300d1e0514f21ccb6f1439f59e20565.tar.gz
Rename Ci::Commit to Ci::Pipeline and rename some of the ci_commit to pipeline
Diffstat (limited to 'lib/ci/charts.rb')
-rw-r--r--lib/ci/charts.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/charts.rb b/lib/ci/charts.rb
index e1636636934..5270108ef0f 100644
--- a/lib/ci/charts.rb
+++ b/lib/ci/charts.rb
@@ -60,7 +60,7 @@ module Ci
class BuildTime < Chart
def collect
- commits = project.ci_commits.last(30)
+ commits = project.pipelines.last(30)
commits.each do |commit|
@labels << commit.short_sha