Skip to content

Commit

Permalink
Fix panic with template validation (#5065)
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy0M committed Apr 18, 2024
1 parent e432e4a commit a4ba5cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/utils/insertion_ordered_map.go
Expand Up @@ -40,6 +40,9 @@ func (insertionOrderedStringMap *InsertionOrderedStringMap) UnmarshalYAML(unmars
}
insertionOrderedStringMap.values = make(map[string]interface{})
for _, v := range data {
if v.Key == nil {
continue
}
insertionOrderedStringMap.Set(v.Key.(string), toString(v.Value))
}
return nil
Expand Down

0 comments on commit a4ba5cd

Please sign in to comment.