[chore]: Bump github.com/minio/minio-go/v7 from 7.0.72 to 7.0.73 (#3083)

This commit is contained in:
dependabot[bot]
2024-07-08 07:59:07 +00:00
committed by GitHub
parent ae349dd6a5
commit 43c480aec4
44 changed files with 3889 additions and 245 deletions

View File

@ -637,7 +637,9 @@ func (c *Client) putObjectMultipartStreamParallel(ctx context.Context, bucketNam
// Sort all completed parts.
sort.Sort(completedParts(complMultipartUpload.Parts))
opts = PutObjectOptions{}
opts = PutObjectOptions{
ServerSideEncryption: opts.ServerSideEncryption,
}
if len(crcBytes) > 0 {
// Add hash of hashes.
crc.Reset()

View File

@ -464,7 +464,9 @@ func (c *Client) putObjectMultipartStreamNoLength(ctx context.Context, bucketNam
// Sort all completed parts.
sort.Sort(completedParts(complMultipartUpload.Parts))
opts = PutObjectOptions{}
opts = PutObjectOptions{
ServerSideEncryption: opts.ServerSideEncryption,
}
if len(crcBytes) > 0 {
// Add hash of hashes.
crc.Reset()

View File

@ -129,7 +129,7 @@ type Options struct {
// Global constants.
const (
libraryName = "minio-go"
libraryVersion = "v7.0.72"
libraryVersion = "v7.0.73"
)
// User Agent should always following the below style.

View File

@ -26,7 +26,7 @@ import (
"strings"
"time"
ini "gopkg.in/ini.v1"
"github.com/go-ini/ini"
)
// A externalProcessCredentials stores the output of a credential_process

View File

@ -406,6 +406,9 @@ func (c *Config) EditRule(opts Options) error {
return fmt.Errorf("priority must be unique. Replication configuration already has a rule with this priority")
}
if rule.Destination.Bucket != newRule.Destination.Bucket && rule.ID == newRule.ID {
if c.Role == newRule.Destination.Bucket {
continue
}
return fmt.Errorf("invalid destination bucket for this rule")
}
}

View File

@ -44,6 +44,10 @@ var awsS3EndpointMap = map[string]awsS3Endpoint{
"s3.ca-central-1.amazonaws.com",
"s3.dualstack.ca-central-1.amazonaws.com",
},
"ca-west-1": {
"s3.ca-west-1.amazonaws.com",
"s3.dualstack.ca-west-1.amazonaws.com",
},
"eu-west-1": {
"s3.eu-west-1.amazonaws.com",
"s3.dualstack.eu-west-1.amazonaws.com",