summaryrefslogtreecommitdiff
path: root/lib/api/project_container_repositories.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/project_container_repositories.rb')
-rw-r--r--lib/api/project_container_repositories.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/api/project_container_repositories.rb b/lib/api/project_container_repositories.rb
index 82b6082c3fe..d4efca6e8f2 100644
--- a/lib/api/project_container_repositories.rb
+++ b/lib/api/project_container_repositories.rb
@@ -123,7 +123,6 @@ module API
end
delete ':id/registry/repositories/:repository_id/tags/:tag_name', requirements: REPOSITORY_ENDPOINT_REQUIREMENTS do
authorize_destroy_container_image!
- validate_tag!
result = ::Projects::ContainerRepository::DeleteTagsService
.new(repository.project, current_user, tags: [declared_params[:tag_name]])