Skip to content

Commit

Permalink
Fix missing parameter in generation rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
ShimShtein authored and chris1984 committed Dec 7, 2023
1 parent a57b33e commit 643b54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/rh_cloud_inventory.rake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace :rh_cloud_inventory do

User.as_anonymous_admin do
organizations.each do |organization|
ForemanTasks.async_task(ForemanInventoryUpload::Async::GenerateReportJob, ForemanInventoryUpload.generated_reports_folder, organization.id)
ForemanTasks.async_task(ForemanInventoryUpload::Async::GenerateReportJob, ForemanInventoryUpload.generated_reports_folder, organization.id, false)
puts "Generated and uploaded inventory report for organization '#{organization.name}'"
end
end
Expand Down

0 comments on commit 643b54e

Please sign in to comment.