From 7448a2f7ee48dbcc4236a868d5f525375fd8b85a Mon Sep 17 00:00:00 2001 From: Shim Shtein Date: Wed, 6 Dec 2023 15:33:30 +0200 Subject: [PATCH] Fix missing parameter in generation rake task --- lib/tasks/rh_cloud_inventory.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/rh_cloud_inventory.rake b/lib/tasks/rh_cloud_inventory.rake index bad00621..3e018f74 100644 --- a/lib/tasks/rh_cloud_inventory.rake +++ b/lib/tasks/rh_cloud_inventory.rake @@ -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