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:
authorMatija Čupić <matteeyah@gmail.com>2019-07-23 22:29:12 +0300
committerMatija Čupić <matteeyah@gmail.com>2019-07-26 01:17:52 +0300
commit38ab1ae2f200e2071ea7329e106beb1b9232f44c (patch)
tree48f38c5e0749501ba6652b7062f677d5cda4adbf /lib/gitlab
parent1eab06571496c1b7950dc081435fa21058b614c8 (diff)
Rename latest_successful to be more explicit
* Reword Project#latest_successful_build_for to Project#latest_successful_build_for_ref * Reword Ci::Pipeline#latest_successful_for to Ci::Pipeline#latest_successful_build_for_ref
Diffstat (limited to 'lib/gitlab')
-rw-r--r--lib/gitlab/badge/coverage/report.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/badge/coverage/report.rb b/lib/gitlab/badge/coverage/report.rb
index 7f7cc62c8ef..15cccc6f287 100644
--- a/lib/gitlab/badge/coverage/report.rb
+++ b/lib/gitlab/badge/coverage/report.rb
@@ -14,7 +14,7 @@ module Gitlab
@ref = ref
@job = job
- @pipeline = @project.ci_pipelines.latest_successful_for(@ref)
+ @pipeline = @project.ci_pipelines.latest_successful_for_ref(@ref)
end
def entity