mirror of
https://github.com/minio/minio.git
synced 2025-01-11 23:13:23 -05:00
do not print errors upon 'nil' err
This commit is contained in:
parent
ac8cb6ba0d
commit
e2d4d097e7
@ -143,6 +143,9 @@ func readAllFileInfo(ctx context.Context, disks []StorageAPI, bucket, object, ve
|
|||||||
|
|
||||||
errs := g.Wait()
|
errs := g.Wait()
|
||||||
for index, err := range errs {
|
for index, err := range errs {
|
||||||
|
if err == nil {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if !IsErr(err, []error{
|
if !IsErr(err, []error{
|
||||||
errFileNotFound,
|
errFileNotFound,
|
||||||
errVolumeNotFound,
|
errVolumeNotFound,
|
||||||
|
@ -493,6 +493,9 @@ func readAllXL(ctx context.Context, disks []StorageAPI, bucket, object string, r
|
|||||||
|
|
||||||
errs := g.Wait()
|
errs := g.Wait()
|
||||||
for index, err := range errs {
|
for index, err := range errs {
|
||||||
|
if err == nil {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if !IsErr(err, []error{
|
if !IsErr(err, []error{
|
||||||
errFileNotFound,
|
errFileNotFound,
|
||||||
errVolumeNotFound,
|
errVolumeNotFound,
|
||||||
|
Loading…
Reference in New Issue
Block a user