Merge main into sweep/fix-incorrect-links

This commit is contained in:
sweep-ai[bot] 2023-08-16 10:43:16 +00:00 committed by GitHub
commit 9b7f3c5b45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,7 @@ func NewMinio() (s3.Interface, error) {
init: false, init: false,
} }
if conf.SignEndpoint == "" || conf.SignEndpoint == conf.Endpoint { if conf.SignEndpoint == "" || conf.SignEndpoint == conf.Endpoint {
m.opts = opts
m.sign = m.core.Client m.sign = m.core.Client
} else { } else {
su, err := url.Parse(conf.SignEndpoint) su, err := url.Parse(conf.SignEndpoint)