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
Updated by Jonathon Turel over 4 years ago
- Target version set to Katello 3.17.2
- Triaged changed from No to Yes
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Justin Sherrill
- Pull request https://github.com/Katello/katello/pull/9100 added
Updated by Chris Roberts about 4 years ago
- Target version changed from Katello 3.17.2 to Katello 3.18.2
Updated by The Foreman Bot about 4 years ago
- Fixed in Releases Katello 4.1.0 added
Updated by Justin Sherrill about 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|3b1fd352a2b9a481772355990d5632d58b0899e9.
Actions