mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
fix: return error when listing fails to retry healing (#12765)
This commit is contained in:
parent
a3079a7de2
commit
df2871de53
@ -283,6 +283,11 @@ func (er *erasureObjects) healErasureSet(ctx context.Context, buckets []BucketIn
|
||||
finished: nil,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
logger.LogIf(ctx, err)
|
||||
return err
|
||||
}
|
||||
|
||||
select {
|
||||
// If context is canceled don't mark as done...
|
||||
case <-ctx.Done():
|
||||
|
Loading…
Reference in New Issue
Block a user