Skip to content
Snippets Groups Projects
Commit b611da70 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Fix status when removing legacy tags from registry

parent b31c5332
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -76,7 +76,7 @@ module Projects
return true unless Gitlab.config.registry.enabled
 
ContainerRepository.build_root_repository(project).tap do |repository|
return repository.delete_tags! if repository.has_tags?
return repository.has_tags? ? repository.delete_tags! : true
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment