this is a critical error

This commit is contained in:
Matthew Hooker 2017-11-07 12:52:03 -08:00
parent a26ce0c4a2
commit 52fc0100eb
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ func (c *AccessConfig) Session() (*session.Session, error) {
if c.ProfileName != "" { if c.ProfileName != "" {
if err := os.Setenv("AWS_PROFILE", c.ProfileName); err != nil { if err := os.Setenv("AWS_PROFILE", c.ProfileName); err != nil {
log.Printf("Set env error: %s", err) return nil, fmt.Errorf("Set env error: %s", err)
} }
} }