diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-11-24 16:50:37 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-11-24 16:50:37 +0800 |
commit | 6192ea53fad0ea04e356e5a79a5a0e5359ba46ce (patch) | |
tree | 68bfd3dacfa302bfbe4b8f55b088016649e6540c /app/models/commit.rb | |
parent | 3a99e36e4448409bf21a0258dde1a82f6494922e (diff) | |
download | gitlab-ce-6192ea53fad0ea04e356e5a79a5a0e5359ba46ce.tar.gz |
Rename latest_for to latest, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7333/diffs#note_18819292
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index b588b93b158..946bfc4712c 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -234,7 +234,7 @@ class Commit return @statuses[ref] if @statuses.key?(ref) - @statuses[ref] = pipelines.latest_for(ref).status + @statuses[ref] = pipelines.latest(ref).status end def revert_branch_name |