[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
commit 43c480aec4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 3889 additions and 245 deletions

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")
}
}