Skip to content
Snippets Groups Projects
Commit 9c1dec9f authored by Danis Kirasirov's avatar Danis Kirasirov
Browse files

refactor

parent 86e68a0b
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ func Eval(ctx context.Context, input string, env map[string]interface{}) (interf
env, _ = cfg.Env.(map[string]interface{})
program, err := exprcompiler.Compile(tree, GetDefaultConfig(env))
program, err := exprcompiler.Compile(tree, cfg)
if err != nil {
return nil, err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment