c8d/progress: Allow updating "Unavailable" ids

They might still change to "Mounted from" or "Already exists" when
containerd updates the status in tracker.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski
2024-06-10 19:12:22 +02:00
parent e2326c27b5
commit 2ccce36d10

View File

@@ -195,7 +195,6 @@ func (p *pushProgress) UpdateProgress(ctx context.Context, ongoing *jobs, out pr
if err != nil || notStarted {
if p.notStartedWaitingAreUnavailable.Load() {
progress.Update(out, id, "Unavailable")
ongoing.Remove(j)
continue
}
if cerrdefs.IsNotFound(err) {