progress: temp fix for context canceling
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>docker-18.09
parent
7d835ce16c
commit
bd32090372
|
@ -237,7 +237,7 @@ func showProgress(ctx context.Context, ongoing *jobs, cs content.Store) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if !j.done {
|
if !j.done {
|
||||||
info, err := cs.Info(ctx, j.Digest)
|
info, err := cs.Info(context.TODO(), j.Digest)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if content.IsNotFound(err) {
|
if content.IsNotFound(err) {
|
||||||
pw.Write(j.Digest.String(), progress.Status{
|
pw.Write(j.Digest.String(), progress.Status{
|
||||||
|
|
Loading…
Reference in New Issue