Browse code

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>

Paweł Gronowski authored on 2024/06/11 02:12:22
Showing 1 changed files
... ...
@@ -195,7 +195,6 @@ func (p *pushProgress) UpdateProgress(ctx context.Context, ongoing *jobs, out pr
195 195
 		if err != nil || notStarted {
196 196
 			if p.notStartedWaitingAreUnavailable.Load() {
197 197
 				progress.Update(out, id, "Unavailable")
198
-				ongoing.Remove(j)
199 198
 				continue
200 199
 			}
201 200
 			if cerrdefs.IsNotFound(err) {