Commit 9d2fbf7b authored by Mayra Cabrera's avatar Mayra Cabrera

Fixes typo on pipeline model

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

See merge request gitlab-org/security/gitlab!2196

Changelog: security
parent dc04eea3
......@@ -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