[chore]: Bump github.com/minio/minio-go/v7 from 7.0.61 to 7.0.62 (#2141)

This commit is contained in:
dependabot[bot]
2023-08-21 06:40:16 +00:00
committed by GitHub
parent 36dceac56c
commit 59b5ed6638
5 changed files with 60 additions and 29 deletions

View File

@ -127,7 +127,7 @@ type Options struct {
// Global constants.
const (
libraryName = "minio-go"
libraryVersion = "v7.0.61"
libraryVersion = "v7.0.62"
)
// User Agent should always following the below style.
@ -158,10 +158,6 @@ func New(endpoint string, opts *Options) (*Client, error) {
if err != nil {
return nil, err
}
// Google cloud storage should be set to signature V2, force it if not.
if s3utils.IsGoogleEndpoint(*clnt.endpointURL) {
clnt.overrideSignerType = credentials.SignatureV2
}
// If Amazon S3 set to signature v4.
if s3utils.IsAmazonEndpoint(*clnt.endpointURL) {
clnt.overrideSignerType = credentials.SignatureV4