Skip to content

yaml2RHMAINTAINERS: fix includeRegexes being ignored

Jiri Benc requested to merge jbencrh/documentation:regexes into main

The yaml.v2 documentations states: "Struct fields are only unmarshalled if they are exported (have an upper case first letter), and are unmarshalled using the field name lowercased as the default key."

For our "IncludeRegexes" field, the means the key being looked for is "includeregexes", not "includeRegexes".

Do not rely on automatic field name but specify it explicitly. And do that to all fields for consistency.

Resolves: #5 (closed) Signed-off-by: Jiri Benc jbenc@redhat.com

Merge request reports