Commit fb17006c authored by Jonathan Schafer's avatar Jonathan Schafer

Fix static analysis issues

parent 5c3ab45f
......@@ -62,7 +62,6 @@ module Security
# rubocop: disable CodeReuse/ActiveRecord
def create_or_find_vulnerability_finding(finding, create_params)
find_params = {
scanner: scanners_objects[finding.scanner.key],
primary_identifier: identifiers_objects[finding.primary_identifier.key],
......@@ -82,7 +81,6 @@ module Security
end
def update_vulnerability_scanner(finding)
scanner = scanners_objects[finding.scanner.key]
scanner.update!(finding.scanner.to_hash)
end
......
---
title: Fix scanner check when creating vulnerability findings
merge_request:
merge_request: 39500
author:
type: fixed
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