do not print errors upon 'nil' err

This commit is contained in:
Minio Trusted committed 2022-06-06 17:33:41 -07:00
1 parent ac8cb6ba0d
commit e2d4d097e7
2 files changed
+6

No files matched your search

+3
View File
@@ -143,6 +143,9 @@ func readAllFileInfo(ctx context.Context, disks []StorageAPI, bucket, object, ve
errs := g.Wait()
for index, err := range errs {
if err == nil {
continue
}
if !IsErr(err, []error{
errFileNotFound,
errVolumeNotFound,