mirror of
https://github.com/versity/versitygw.git
synced 2026-08-22 07:06:19 +00:00
fix: TLS configuration removed
This commit is contained in:
committed by
Ben McClelland
parent
24ae7a2e86
commit
672027f4aa
@@ -2,7 +2,6 @@ package integration
|
||||
|
||||
import (
|
||||
"context"
|
||||
"crypto/tls"
|
||||
"log"
|
||||
"net/http"
|
||||
"os"
|
||||
@@ -92,9 +91,7 @@ func (c *S3Conf) ResolveEndpoint(service, region string, options ...interface{})
|
||||
func (c *S3Conf) Config() aws.Config {
|
||||
creds := c.getCreds()
|
||||
|
||||
tr := &http.Transport{
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
||||
}
|
||||
tr := &http.Transport{}
|
||||
client := &http.Client{Transport: tr}
|
||||
|
||||
opts := []func(*config.LoadOptions) error{
|
||||
|
||||
Reference in New Issue
Block a user