We need to use the State() function, rather than Result().ToState()

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine
2022-01-03 14:34:49 -07:00
parent ee56cda904
commit 8b4d02540f
5 changed files with 5 additions and 5 deletions

View File

@@ -217,7 +217,7 @@ func (p *Pipeline) doOp(ctx context.Context, op *compiler.Value, st llb.State) (
if err != nil {
return st, nil
}
return fs.Result().ToState()
return fs.State()
}
do, err := op.Lookup("do").String()