Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/ci/reports/security/link.rb')
-rw-r--r--lib/gitlab/ci/reports/security/link.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/ci/reports/security/link.rb b/lib/gitlab/ci/reports/security/link.rb
index 1c4c05cd9ac..6804d2b2a29 100644
--- a/lib/gitlab/ci/reports/security/link.rb
+++ b/lib/gitlab/ci/reports/security/link.rb
@@ -18,6 +18,10 @@ module Gitlab
url: url
}.compact
end
+
+ def ==(other)
+ name == other.name && url == other.url
+ end
end
end
end