mirror of
https://github.com/minio/minio.git
synced 2025-07-08 08:32:18 -04:00
Do not log BucketNotFound errors on minio console (#6114)
This commit is contained in:
parent
317e648c0d
commit
726e75611e
@ -483,7 +483,6 @@ func (a *azureObjects) GetBucketInfo(ctx context.Context, bucket string) (bi min
|
|||||||
} // else continue
|
} // else continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logger.LogIf(ctx, minio.BucketNotFound{Bucket: bucket})
|
|
||||||
return bi, minio.BucketNotFound{Bucket: bucket}
|
return bi, minio.BucketNotFound{Bucket: bucket}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -278,7 +278,6 @@ func (l *b2Objects) Bucket(ctx context.Context, bucket string) (*b2.Bucket, erro
|
|||||||
return bkt, nil
|
return bkt, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logger.LogIf(ctx, minio.BucketNotFound{Bucket: bucket})
|
|
||||||
return nil, minio.BucketNotFound{Bucket: bucket}
|
return nil, minio.BucketNotFound{Bucket: bucket}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -227,7 +227,6 @@ func (l *s3Objects) GetBucketInfo(ctx context.Context, bucket string) (bi minio.
|
|||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.LogIf(ctx, minio.BucketNotFound{Bucket: bucket})
|
|
||||||
return bi, minio.BucketNotFound{Bucket: bucket}
|
return bi, minio.BucketNotFound{Bucket: bucket}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user