Skip to content

Commit

Permalink
Update bundle/config/root.go
Browse files Browse the repository at this point in the history
Co-authored-by: Pieter Noordhuis <[email protected]>
  • Loading branch information
andrewnester and pietern authored Sep 4, 2024
1 parent e144def commit e884a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/config/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ func rewriteShorthands(v dyn.Value) (dyn.Value, error) {

case dyn.KindMap, dyn.KindSequence:
// Check if the original definition of variable has a type field.
// If it has a type field, it means the shorthand is a value of a complex type.
// If it has a type field, it means the shorthand is a value of a complex type.
// Type might not be found if the variable overriden in a separate file
// and configuration is not merged yet.
typeV, err := dyn.GetByPath(v, p.Append(dyn.Key("type")))
Expand Down

0 comments on commit e884a3d

Please sign in to comment.