Skip to content

Commit

Permalink
fix schedule_settings
Browse files Browse the repository at this point in the history
We refactored an overshadowing variable, but we didn't fix
all references to that variable

introduced in 93d5f5d
  • Loading branch information
kbrock committed Oct 10, 2019
1 parent cd215c7 commit 18e5980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/miq_schedule_worker/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18e5980

Please sign in to comment.