Skip to content

Fix YAML for db/docs/integrations.yml

Peter Leitzen requested to merge pl-fix-db-docs-integrations-yml into master

What does this MR do and why?

In !85426 (diffs, comment 918321120) we've updated integrations.yml but introduced invalid YAML.

This MR fixes it 💪

Screenshots or screen recordings

n/a

How to set up and validate locally

Before

ruby -ryaml -e 'Dir["db/docs/*.yml"].all? { YAML.load_file(_1) }'
Traceback (most recent call last):
        9: from -e:1:in `<main>'
        8: from -e:1:in `all?'
        7: from -e:1:in `block in <main>'
        6: from /home/peter/.dotfiles/asdf/installs/ruby/2.7.5/lib/ruby/2.7.0/psych.rb:577:in `load_file'
        5: from /home/peter/.dotfiles/asdf/installs/ruby/2.7.5/lib/ruby/2.7.0/psych.rb:577:in `open'
        4: from /home/peter/.dotfiles/asdf/installs/ruby/2.7.5/lib/ruby/2.7.0/psych.rb:578:in `block in load_file'
        3: from /home/peter/.dotfiles/asdf/installs/ruby/2.7.5/lib/ruby/2.7.0/psych.rb:277:in `load'
        2: from /home/peter/.dotfiles/asdf/installs/ruby/2.7.5/lib/ruby/2.7.0/psych.rb:390:in `parse'
        1: from /home/peter/.dotfiles/asdf/installs/ruby/2.7.5/lib/ruby/2.7.0/psych.rb:456:in `parse_stream'
/home/peter/.dotfiles/asdf/installs/ruby/2.7.5/lib/ruby/2.7.0/psych.rb:456:in `parse': (db/docs/integrations.yml): mapping values are not allowed in this context at line 53 column 44 (Psych::SyntaxError)

After

$ ruby -ryaml -e 'p Dir["db/docs/*.yml"].all? { YAML.load_file(_1) }'
true

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports

Loading