mirror of https://github.com/docker/buildx.git
progress: create new display object after unpause
Without this, we attempt to overwrite the previous display in the lines above which have been filled with logs from the monitor (see when used with `--invoke`). Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
parent
0bd6f3c7f5
commit
b9aad03e7a
|
@ -124,6 +124,8 @@ func NewPrinter(ctx context.Context, out console.File, mode progressui.DisplayMo
|
|||
pw.ready = make(chan struct{})
|
||||
<-pw.paused
|
||||
pw.paused = nil
|
||||
|
||||
d, _ = progressui.NewDisplay(out, mode, opt.displayOpts...)
|
||||
}
|
||||
}()
|
||||
<-pw.ready
|
||||
|
|
Loading…
Reference in New Issue