Skip to content

Commit

Permalink
Merge pull request #4819 from jedevc/remove-impossible-err-check
Browse files Browse the repository at this point in the history
chore: remove impossible err check
  • Loading branch information
AkihiroSuda authored Apr 2, 2024
2 parents 319e1ce + 130b7d1 commit 7cd1273
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions solver/llbsolver/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,7 @@ func (b *llbBridge) loadResult(ctx context.Context, def *pb.Definition, cacheImp
if srcPol != nil {
pol = append([]*spb.Policy{srcPol}, pol...)
}

polEngine = sourcepolicy.NewEngine(pol)
if err != nil {
return nil, err
}
}
var cms []solver.CacheManager
for _, im := range cacheImports {
Expand Down

0 comments on commit 7cd1273

Please sign in to comment.