Skip to content

Commit

Permalink
Render wrapped return value, providing core template error.
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Topping <[email protected]>
  • Loading branch information
briantopping committed Aug 10, 2023
1 parent 41c3bc3 commit 07a0955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/skaffold/build/ko/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func expand(dryValues []string) ([]string, error) {
rawValue = strings.ReplaceAll(rawValue, "{{.Env.", "{{.")
expandedValue, err := util.ExpandEnvTemplate(rawValue, nil)
if err != nil {
return nil, fmt.Errorf("could not expand %s", rawValue)
return nil, err
}
expandedValues = append(expandedValues, expandedValue)
}
Expand Down

0 comments on commit 07a0955

Please sign in to comment.