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/api/maven_packages.rb')
-rw-r--r--lib/api/maven_packages.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/api/maven_packages.rb b/lib/api/maven_packages.rb
index e075a917fa9..241cd93f380 100644
--- a/lib/api/maven_packages.rb
+++ b/lib/api/maven_packages.rb
@@ -60,16 +60,6 @@ module API
if stored_sha256 == expected_sha256
no_content!
else
- # Track sha1 conflicts.
- # See https://gitlab.com/gitlab-org/gitlab/-/issues/367356
- Gitlab::ErrorTracking.log_exception(
- ArgumentError.new,
- message: 'maven package file sha1 conflict',
- stored_sha1: package_file.file_sha1,
- received_sha256: uploaded_file.sha256,
- sha256_hexdigest_of_stored_sha1: stored_sha256
- )
-
conflict!
end
end