Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions daemon/containerd/progress.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ func showProgress(ctx context.Context, ongoing *jobs, w io.Writer, updateFunc up
return
}
case <-ctx.Done():
// Don't use the context that is already done.
// Perform the last update with a new context.
ctx := context.Background()
updateFunc(ctx, ongoing, out, start)
return
}
Expand Down