Actions
Bug #31424
closedremove 'load' from rake tasks
Description
we currently call load within a few rake tasks:
lib/katello/tasks/delete_orphaned_content.rake:load "#{Katello::Engine.root}/lib/katello/tasks/common.rake"
lib/katello/tasks/pulp3_migration.rake:load "#{Katello::Engine.root}/lib/katello/tasks/common.rake"
lib/katello/tasks/pulp3_post_migration_check.rake:load "#{Katello::Engine.root}/lib/katello/tasks/common.rake"
lib/katello/tasks/repository.rake:load "#{Katello::Engine.root}/lib/katello/tasks/common.rake"
This can cause tasks to be double loaded and double executed. We likely could load common.rake first here: https://github.com/Katello/katello/blob/master/lib/katello/engine.rb#L242-L247
Actions