提交 b611da70 编写于 作者: G Grzegorz Bizon

Fix status when removing legacy tags from registry

上级 b31c5332
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册