feat(backends/s3): add warmup support for check command (#5248)

This commit is contained in:
Gilbert Gilb's
2026-06-25 20:46:55 +02:00
committed by GitHub
parent 4e8eea7ab4
commit db03aed816
9 changed files with 76 additions and 16 deletions
+1 -3
View File
@@ -389,10 +389,9 @@ func runCheck(ctx context.Context, opts CheckOptions, gopts global.Options, args
}
if readDataFilter != nil {
p := printer.NewCounter("packs")
errChan := make(chan error)
go chkr.ReadPacks(ctx, readDataFilter, p, errChan)
go chkr.ReadPacks(ctx, readDataFilter, printer, errChan)
for err := range errChan {
errorsFound = true
@@ -402,7 +401,6 @@ func runCheck(ctx context.Context, opts CheckOptions, gopts global.Options, args
salvagePacks.Insert(err.PackID)
}
}
p.Done()
}
if len(salvagePacks) > 0 {