Skip to content

Commit

Permalink
Update minio.go
Browse files Browse the repository at this point in the history
  • Loading branch information
webb-ben committed Oct 2, 2024
1 parent 6e035d8 commit b946064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/common/minio.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func MinioConnection(v1 *viper.Viper) *minio.Client {
var endpoint, accessKeyID, secretAccessKey string
var useSSL bool

if mcfg.Port == 0 {
if mcfg.Port == 0 || mcfg.Address == "storage.googleapis.com" {
endpoint = fmt.Sprintf("%s", mcfg.Address)
accessKeyID = mcfg.Accesskey
secretAccessKey = mcfg.Secretkey
Expand Down

0 comments on commit b946064

Please sign in to comment.