mirror of
https://github.com/docker/compose.git
synced 2026-08-04 06:38:45 +00:00
can't render progress concurrently with buildkit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
b6db1380ec
commit
a351585024
2 changed files with 4 additions and 4 deletions
|
|
@ -167,7 +167,7 @@ func (w *ttyWriter) print() { //nolint:gocyclo
|
|||
_, _ = fmt.Fprint(w.out, aec.Show)
|
||||
}()
|
||||
|
||||
firstLine := fmt.Sprintf("[+] %s %d/%d", w.progressTitle, numDone(w.events), w.numLines)
|
||||
firstLine := fmt.Sprintf("[+] %s %d/%d", w.progressTitle, numDone(w.events), len(w.events))
|
||||
if w.numLines != 0 && numDone(w.events) == w.numLines {
|
||||
firstLine = DoneColor(firstLine)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue