mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 11:22:25 -05:00
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.61 to 7.0.62 (#2141)
This commit is contained in:
parent
36dceac56c
commit
59b5ed6638
5 changed files with 60 additions and 29 deletions
6
vendor/github.com/minio/minio-go/v7/api.go
generated
vendored
6
vendor/github.com/minio/minio-go/v7/api.go
generated
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue