From d39db226f6e750209b814bb1283346d7b8a99d32 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 16:59:27 +0000 Subject: [PATCH 1/2] Initial plan From 6e743238bb9d1de577f6462175039044516ea5eb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 17:09:31 +0000 Subject: [PATCH 2/2] fix: replace unlambda wrapper with direct toFloat64 reference Co-authored-by: intel352 <77607+intel352@users.noreply.github.com> --- module/pipeline_template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/pipeline_template.go b/module/pipeline_template.go index 5d7fac1b..23418a03 100644 --- a/module/pipeline_template.go +++ b/module/pipeline_template.go @@ -482,7 +482,7 @@ func templateFuncMap() template.FuncMap { // toInt converts a value to int64. "toInt": func(v any) int64 { return int64(toFloat64(v)) }, // toFloat converts a value to float64. - "toFloat": func(v any) float64 { return toFloat64(v) }, + "toFloat": toFloat64, // toString converts a value to its string representation. "toString": func(v any) string { return fmt.Sprintf("%v", v) }, // length returns the length of a string, slice, array, or map. Returns 0 for other types.