mirror of
https://github.com/pgsty/minio.git
synced 2026-10-07 02:05:58 +03:00
fix: print errors only when metacache status has errors (#11248)
This commit is contained in:
+1
-1
@@ -1478,7 +1478,7 @@ func (s *xlStorage) ReadFileStream(ctx context.Context, volume, path string, off
|
||||
if offset == 0 && globalStorageClass.GetDMA() == storageclass.DMAReadWrite {
|
||||
file, err = disk.OpenFileDirectIO(filePath, os.O_RDONLY, 0666)
|
||||
} else {
|
||||
// Open the fileile fileor reading.
|
||||
// Open the file for reading.
|
||||
file, err = os.Open(filePath)
|
||||
}
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user