mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
fix: avoid printing certain errors under few locations (#16631)
This commit is contained in:
1 parent
a7188bc9d0
commit
6ea150fd68
5 files changed
+22
-19
No files matched your search
@@ -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