ManageIQ / manageiq-automation_engine

Automation engine for ManageIQ
Apache License 2.0
11 stars 73 forks source link

require logger to avoid autoload during rails boot #539

Closed jrafanie closed 7 months ago

jrafanie commented 7 months ago

Rails 7 doesn't want us to autoload during rails boot so we can avoid this by requiring the file. Autoload assumes it should be reloaded on code change in dev mode, which doesn't make sense for code that's loaded once at boot.

miq-bot commented 7 months ago

Checked commit https://github.com/jrafanie/manageiq-automation_engine/commit/a631bd0400def787a85957cefa540633942503f9 with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint 1 file checked, 0 offenses detected Everything looks fine. :cake: