Skip to content

Commit ff07b17

Browse files
authored
Merge branch 'main' into copilot/add-oauth2-token-caching
2 parents ee69cdb + b97a857 commit ff07b17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

module/pipeline_template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ func templateFuncMap() template.FuncMap {
482482
// toInt converts a value to int64.
483483
"toInt": func(v any) int64 { return int64(toFloat64(v)) },
484484
// toFloat converts a value to float64.
485-
"toFloat": func(v any) float64 { return toFloat64(v) },
485+
"toFloat": toFloat64,
486486
// toString converts a value to its string representation.
487487
"toString": func(v any) string { return fmt.Sprintf("%v", v) },
488488
// length returns the length of a string, slice, array, or map. Returns 0 for other types.

0 commit comments

Comments
 (0)