@@ -95,10 +95,10 @@ func Decode(input interface{}, result interface{}) error {
9595 ),
9696 Metadata: nil, // Don't track any metadata
9797 Result: result, // Decode the result into the prefilled options
98− TagName: "yaml", // Parse all fields that use the json tag
98+ TagName: "yaml", // Parse all fields that use the yaml tag
9999 ZeroFields: false, // Don't clean the default values from the result map (options)
100100 ErrorUnused: true, // Throw an error if keys have been used that aren't mapped to any struct fields
101− IgnoreUntaggedFields: true, // Ignore fields in structures that aren't tagged with json
101+ IgnoreUntaggedFields: true, // Ignore fields in structures that aren't tagged with yaml
102102 })
103103 if err != nil {
104104 return fmt.Errorf("error creating decoder for config: %w", err)