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