mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-05 12:39:31 -06:00
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.72 to 7.0.73 (#3083)
This commit is contained in:
parent
ae349dd6a5
commit
43c480aec4
44 changed files with 3889 additions and 245 deletions
3
vendor/github.com/minio/minio-go/v7/pkg/replication/replication.go
generated
vendored
3
vendor/github.com/minio/minio-go/v7/pkg/replication/replication.go
generated
vendored
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue