fix: minio sign endpoint opts

pull/881/head
withchao 2 years ago
parent 2997dd4659
commit 49640acc44

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

Loading…
Cancel
Save