mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Do not log errFileNotFound error (#5853)
This commit is contained in:
committed by
Harshavardhana
parent
fe126de98b
commit
6831177394
@@ -163,7 +163,9 @@ func fsStat(ctx context.Context, statLoc string) (os.FileInfo, error) {
|
||||
}
|
||||
fi, err := os.Stat((statLoc))
|
||||
if err != nil {
|
||||
logger.LogIf(ctx, err)
|
||||
if err != errFileNotFound {
|
||||
logger.LogIf(ctx, err)
|
||||
}
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user