summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-09-08 06:08:57 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-08 06:08:57 +0000
commita69bb17d1e46f2816c3406d24c4dcdcb6d479935 (patch)
treed8bfa389bf8df6cc3e26a14aa68a2a14ec916e5b /lib
parent6d266accebb0f79be591005ee5f1fc7c38e29a0a (diff)
downloadgitlab-ce-a69bb17d1e46f2816c3406d24c4dcdcb6d479935.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r--lib/api/ci/pipelines.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/ci/pipelines.rb b/lib/api/ci/pipelines.rb
index a010e0dd761..55089045e80 100644
--- a/lib/api/ci/pipelines.rb
+++ b/lib/api/ci/pipelines.rb
@@ -178,7 +178,7 @@ module API
def latest_pipeline
strong_memoize(:latest_pipeline) do
- user_project.latest_pipeline_for_ref(params[:ref])
+ user_project.latest_pipeline(params[:ref])
end
end
end