You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
step execution failed: step 0 met error threshold of 1: failed to get step config: error pre-processing promotion variable "commit": reflect: call of reflect.Value.Call on zero Value (1:2) | commitFrom("https://github.com/jessesuen/kargo-rendered-branches.git").ID | .^
But the same commitFrom will work as a normal step:
jessesuen
changed the title
Expression functions not available in vars values passed to tasks
Expression functions not available in conditionals or vars values passed to tasks
Mar 13, 2025
Description
If I try to use
commitFrom
function to pass something to a task, e.g.:I get the following error:
step execution failed: step 0 met error threshold of 1: failed to get step config: error pre-processing promotion variable "commit": reflect: call of reflect.Value.Call on zero Value (1:2) | commitFrom("https://github.com/jessesuen/kargo-rendered-branches.git").ID | .^
But the same
commitFrom
will work as a normal step:Screenshots
Steps to Reproduce
Try to use
commitFrom
in a vars[].value passed to a task.Version
The text was updated successfully, but these errors were encountered: