ManageIQ / manageiq-appliance_console

The console for the ManageIQ appliances.
Apache License 2.0
2 stars 28 forks source link

Fix YAML.load_file failing on aliases #234

Closed agrare closed 8 months ago

agrare commented 8 months ago

Fix configuring an internal database with ruby 3.1 failing due to aliases in the config/database.pg.yml file

/opt/manageiq/manageiq-gemset/gems/psych-4.0.6/lib/psych/visitors/to_ruby.rb:432:in 'visit_Psych_Nodes_Alias': Unknown alias: base (Psych::BadAlias)

Fixes https://github.com/ManageIQ/manageiq-appliance_console/issues/232

miq-bot commented 8 months ago

Checked commit https://github.com/agrare/manageiq-appliance_console/commit/485e72cb27d0ac6ffc2e1f79dc7f594d320e3eae 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: