bugfix
This commit is contained in:
parent
3ed7572525
commit
624aaa2067
|
@ -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…
Reference in New Issue