fix: pass nil importer to Eval

pull/10616/head
jlapacik 2018-12-17 15:34:59 -08:00
parent 88425ced00
commit c27d954016
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ func toSpec(p *ast.Program, now func() time.Time) (*flux.Spec, error) {
return nil, err
}
if err := itrp.Eval(semProg); err != nil {
if err := itrp.Eval(semProg, nil); err != nil {
return nil, err
}
return flux.ToSpec(itrp, itrp.SideEffects()...), nil