remove commented code

This commit is contained in:
Megan Marsh 2019-01-16 11:05:11 -08:00
parent 783ed32e7e
commit e0543246fa
1 changed files with 0 additions and 4 deletions

View File

@ -55,10 +55,6 @@ func (c *AccessConfig) Session() (*session.Session, error) {
config = config.WithMaxRetries(8) config = config.WithMaxRetries(8)
region, _ := c.region() region, _ := c.region()
// if err != nil {
// return nil, fmt.Errorf("Could not get region, "+
// "probably because it's not set or we're not running on AWS. %s", err)
// }
config = config.WithRegion(region) config = config.WithRegion(region)
if c.CustomEndpointEc2 != "" { if c.CustomEndpointEc2 != "" {