diff --git a/lib/katello/tasks/reports.rake b/lib/katello/tasks/reports.rake index 58cc3b7d3cf..f2e04b829e2 100644 --- a/lib/katello/tasks/reports.rake +++ b/lib/katello/tasks/reports.rake @@ -1,7 +1,4 @@ load "#{Rails.root}/lib/tasks/reports.rake" #Katello reports can generate a foreman task, so mark the task as a dynflow client -["reports:daily", "reports:weekly", "reports:monthly"].each do |task| - Rake::Task[task].clear - Rake::Task[task].enhance ["dynflow:client"] -end +["reports:daily", "reports:weekly", "reports:monthly"].each { |task| Rake::Task[task].enhance ["dynflow:client"] }