Commit fd34534a authored by Mehmet Emin INAC's avatar Mehmet Emin INAC

Fix Gitlab::Ci::Reports::Security::Finding#eql? method

parent f47d4e6f
......@@ -72,7 +72,9 @@ module Gitlab
end
def eql?(other)
hash == other.hash
report_type == other.report_type &&
location.fingerprint == other.location.fingerprint &&
primary_identifier.fingerprint == other.primary_identifier.fingerprint
end
def hash
......
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