From 18e5980c90c4b0e3c1af62e6202a6692b69b199a Mon Sep 17 00:00:00 2001 From: Keenan Brock Date: Wed, 9 Oct 2019 21:35:51 -0400 Subject: [PATCH] fix schedule_settings We refactored an overshadowing variable, but we didn't fix all references to that variable introduced in 93d5f5db5 --- app/models/miq_schedule_worker/runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/miq_schedule_worker/runner.rb b/app/models/miq_schedule_worker/runner.rb index ca160d60c25..1b9c229b3ad 100644 --- a/app/models/miq_schedule_worker/runner.rb +++ b/app/models/miq_schedule_worker/runner.rb @@ -240,7 +240,7 @@ def schedules_for_scheduler_role ) { enqueue(:storage_scan_timer) } schedule_settings_for_ems_refresh.each do |klass, local_every| - scheduler.schedule_every(every, :first_in => local_every) do + scheduler.schedule_every(local_every, :first_in => local_every) do enqueue([:ems_refresh_timer, klass]) end end