Commit a385aa11 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'theirix-docs-cleanuptagsservice' into 'master'

Update code for manual Cleanup policy invocation

See merge request gitlab-org/gitlab!75091
parents ce87d356 8c6f184d
...@@ -873,7 +873,7 @@ project.container_repositories.find_each do |repo| ...@@ -873,7 +873,7 @@ project.container_repositories.find_each do |repo|
puts repo.attributes puts repo.attributes
# Start the tag cleanup # Start the tag cleanup
puts Projects::ContainerRepository::CleanupTagsService.new(project, user, policy.attributes.except("created_at", "updated_at")).execute(repo) puts Projects::ContainerRepository::CleanupTagsService.new(repo, user, policy.attributes.except("created_at", "updated_at")).execute()
end end
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment