0
0
mirror of https://github.com/thegeeklab/wp-s3-action.git synced 2024-11-22 01:00:40 +00:00

Remove a debug output.

This commit is contained in:
hdhog 2017-10-30 13:54:11 +04:00 committed by hdhog
parent 3f8ed9703c
commit fe509a598a

1
aws.go
View File

@ -34,7 +34,6 @@ func NewAWS(p *Plugin) AWS {
Region: aws.String(p.Region), Region: aws.String(p.Region),
} }
fmt.Println(p.Endpoint)
if p.Endpoint != "" { if p.Endpoint != "" {
sessCfg.Endpoint = &p.Endpoint sessCfg.Endpoint = &p.Endpoint
sessCfg.DisableSSL = aws.Bool(strings.HasPrefix(p.Endpoint, "http://")) sessCfg.DisableSSL = aws.Bool(strings.HasPrefix(p.Endpoint, "http://"))