Commit 1cb280ca authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'mc-commit-test-6282' into 'master'

Fixes typo on pipeline model

See merge request gitlab-org/security/gitlab!2196
parents 23c6affe 9d2fbf7b
......@@ -350,7 +350,7 @@ module Ci
#
# ref - The name (or names) of the branch(es)/tag(s) to limit the list of
# pipelines to.
# sha - The commit SHA (or mutliple SHAs) to limit the list of pipelines to.
# sha - The commit SHA (or multiple SHAs) to limit the list of pipelines to.
# limit - This limits a backlog search, default to 100.
def self.newest_first(ref: nil, sha: nil, limit: 100)
relation = order(id: :desc)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment