Commit 6dbe3e63 authored by Tiger Watson's avatar Tiger Watson

Merge branch 'remove_cop_disable_comment_and_preload' into 'master'

Remove cop disable comment and preload of associations

See merge request gitlab-org/gitlab!40934
parents a8971bd2 de5678e9
......@@ -113,10 +113,10 @@ module Security
def dismissal_feedback_by_fingerprint
strong_memoize(:dismissal_feedback_by_fingerprint) do
pipeline.project.vulnerability_feedback
.with_associations
.where(feedback_type: 'dismissal') # rubocop:disable CodeReuse/ActiveRecord
.group_by(&:project_fingerprint)
pipeline.project
.vulnerability_feedback
.for_dismissal
.group_by(&:project_fingerprint)
end
end
......
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