progressui: allow vertex reset
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>docker-19.03
parent
cbfb5c476a
commit
c277824a71
|
@ -227,7 +227,10 @@ func (t *trace) update(s *client.SolveStatus, termWidth int) {
|
|||
}
|
||||
t.vertexes = append(t.vertexes, t.byDigest[v.Digest])
|
||||
}
|
||||
t.byDigest[v.Digest].Vertex = v
|
||||
// allow a duplicate initial vertex that shouldn't reset state
|
||||
if !(prev != nil && prev.Started != nil && v.Started == nil) {
|
||||
t.byDigest[v.Digest].Vertex = v
|
||||
}
|
||||
t.byDigest[v.Digest].jobCached = false
|
||||
}
|
||||
for _, s := range s.Statuses {
|
||||
|
|
Loading…
Reference in New Issue