Commit f6f3c703 authored by Michał Zając's avatar Michał Zając Committed by Mark Chao

Fix typo in method name

parent 5a98e0ce
...@@ -48,7 +48,7 @@ module Security ...@@ -48,7 +48,7 @@ module Security
end end
vulnerability_params = finding.to_hash.except(:compare_key, :identifiers, :location, :scanner, :scan, :links) vulnerability_params = finding.to_hash.except(:compare_key, :identifiers, :location, :scanner, :scan, :links)
vulnerability_params[:uuid] = calculcate_uuid_v5(finding) vulnerability_params[:uuid] = calculate_uuid_v5(finding)
vulnerability_finding = create_or_find_vulnerability_finding(finding, vulnerability_params) vulnerability_finding = create_or_find_vulnerability_finding(finding, vulnerability_params)
update_vulnerability_scanner(finding) update_vulnerability_scanner(finding)
...@@ -91,7 +91,7 @@ module Security ...@@ -91,7 +91,7 @@ module Security
end end
end end
def calculcate_uuid_v5(vulnerability_finding) def calculate_uuid_v5(vulnerability_finding)
uuid_v5_name_components = { uuid_v5_name_components = {
report_type: vulnerability_finding.report_type, report_type: vulnerability_finding.report_type,
primary_identifier_fingerprint: vulnerability_finding.primary_fingerprint, primary_identifier_fingerprint: vulnerability_finding.primary_fingerprint,
......
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