Skip to content
Snippets Groups Projects
Commit a5210ba8 authored by Stan Hu's avatar Stan Hu
Browse files

Fix scoping errors occuring for ContainerRepository on some builds

parent 1d69d26f
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -159,7 +159,7 @@ module Projects
def remove_legacy_registry_tags
return true unless Gitlab.config.registry.enabled
 
ContainerRepository.build_root_repository(project).tap do |repository|
::ContainerRepository.build_root_repository(project).tap do |repository|
break 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