mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
fix: avoid printing certain errors under few locations (#16631)
This commit is contained in:
@@ -316,11 +316,11 @@ func (z *erasureServerPools) listMerged(ctx context.Context, o listPathOptions,
|
||||
}
|
||||
|
||||
for _, err := range errs {
|
||||
if err == nil || contextCanceled(ctx) {
|
||||
allAtEOF = false
|
||||
if errors.Is(err, io.EOF) {
|
||||
continue
|
||||
}
|
||||
if err.Error() == io.EOF.Error() {
|
||||
if err == nil || contextCanceled(ctx) || errors.Is(err, context.Canceled) {
|
||||
allAtEOF = false
|
||||
continue
|
||||
}
|
||||
logger.LogIf(ctx, err)
|
||||
|
||||
Reference in New Issue
Block a user