This commit is contained in:
Matthew Hooker 2017-06-09 11:01:27 -07:00
parent 3ed7572525
commit 624aaa2067
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 1 deletions

View File

@ -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 != "" {