From b553ec031aff8f279d44247df341a43ac7d938f1 Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Wed, 10 Jul 2024 12:16:06 +0100 Subject: [PATCH] CLDC-3543: Fix args reference in allow live run of handle unpended logs task (#2503) --- lib/tasks/handle_unpended_logs.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/handle_unpended_logs.rake b/lib/tasks/handle_unpended_logs.rake index 02c976682..695e6d93f 100644 --- a/lib/tasks/handle_unpended_logs.rake +++ b/lib/tasks/handle_unpended_logs.rake @@ -1,5 +1,5 @@ desc "Deduplicates logs where we have inadvertently turned some pending logs to in progress / completed" -task :handle_unpended_logs, %i[perform_updates] => :environment do |_task, _args| +task :handle_unpended_logs, %i[perform_updates] => :environment do |_task, args| dry_run = args[:perform_updates].blank? || args[:perform_updates] != "true" pg = ActiveRecord::Base.connection