mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
fix: return error when listing fails to retry healing (#12765)
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user