mirror of
https://github.com/moby/buildkit.git
synced 2025-07-17 10:40:59 +03:00
2
cache/blobs_linux.go
vendored
2
cache/blobs_linux.go
vendored
@ -45,7 +45,7 @@ func (sr *immutableRef) tryComputeOverlayBlob(ctx context.Context, lower, upper
|
||||
|
||||
defer func() {
|
||||
if cw != nil {
|
||||
ctx = context.WithoutCancel(ctx)
|
||||
ctx := context.WithoutCancel(ctx)
|
||||
// after commit success cw will be set to nil, if cw isn't nil, error
|
||||
// happened before commit, we should abort this ingest, and because the
|
||||
// error may incured by ctx cancel, use a new context here. And since
|
||||
|
Reference in New Issue
Block a user