mirror of https://github.com/minio/minio.git
do not print errFileNotFound in entries.resolve() (#15216)
This commit is contained in:
parent
0fee993a4b
commit
ce667ddae0
|
@ -20,6 +20,7 @@ package cmd
|
|||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"errors"
|
||||
"os"
|
||||
"sort"
|
||||
"strings"
|
||||
|
@ -330,7 +331,9 @@ func (m metaCacheEntries) resolve(r *metadataResolutionParams) (selected *metaCa
|
|||
// shallow decode.
|
||||
xl, err := entry.xlmeta()
|
||||
if err != nil {
|
||||
logger.LogIf(GlobalContext, err)
|
||||
if !errors.Is(err, errFileNotFound) {
|
||||
logger.LogIf(GlobalContext, err)
|
||||
}
|
||||
continue
|
||||
}
|
||||
objsValid++
|
||||
|
|
Loading…
Reference in New Issue