pull/4996/head
Matthew Hooker 9 years ago
parent 3ed7572525
commit 624aaa2067
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1

@ -63,7 +63,7 @@ func (c *AccessConfig) Session() (*session.Session, error) {
config := aws.NewConfig().WithRegion(region).WithMaxRetries(11).WithCredentialsChainVerboseErrors(true)
if c.CustomEndpointEc2 != "" {
config = config.WithEndpoint(aws.String(c.CustomEndpointEc2))
config = config.WithEndpoint(c.CustomEndpointEc2)
}
if c.AccessKey != "" {

Loading…
Cancel
Save