Skip to content

Commit 60b3aa7

Browse files
committed
handle missing provenance for non-evaluated result
If resultProxy has been created but the result has not been evaluated then it shouldn't show missing provenance error for that result. This patch works together with previous one that fixes error reporting on provenance creation. Signed-off-by: Tonis Tiigi <[email protected]>
1 parent fdc9d20 commit 60b3aa7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

solver/llbsolver/solver.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -749,9 +749,6 @@ func getRefProvenance(ref solver.ResultProxy, br *provenanceBridge) (*provenance
749749
}
750750
p := ref.Provenance()
751751
if p == nil {
752-
if br.req != nil {
753-
return nil, errors.Errorf("missing provenance for %s", ref.ID())
754-
}
755752
return nil, nil
756753
}
757754

0 commit comments

Comments
 (0)