app/lib/actions/katello/repository_set/disable_repository.rb in katello-3.11.2 vs app/lib/actions/katello/repository_set/disable_repository.rb in katello-3.12.0.rc1
- old
+ new
@@ -10,10 +10,10 @@
repository = repository_mapper(product,
content,
options).find_repository
if repository
action_subject(repository)
- plan_action(Repository::Destroy, repository, :planned_destroy => true)
+ plan_action(Repository::Destroy, repository)
else
fail ::Katello::Errors::NotFound, _('Repository not found')
end
end