mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
Fix display glitch when sending a single “Done” event with no previous “Working” event ont he same ID
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
This commit is contained in:
parent
58e10a7af2
commit
ec302a2e10
1 changed files with 3 additions and 0 deletions
|
|
@ -84,6 +84,9 @@ func (w *ttyWriter) Event(e Event) {
|
|||
} else {
|
||||
e.startTime = time.Now()
|
||||
e.spinner = newSpinner()
|
||||
if e.Status == Done || e.Status == Error {
|
||||
e.stop()
|
||||
}
|
||||
w.events[e.ID] = e
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue