Skip to content

Commit

Permalink
[skbn/s3] fix dirty state after fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
maorfr committed Dec 25, 2018
1 parent fe1fa33 commit 4ce7cee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/skbn/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,13 @@ func getNewSession() (*session.Session, error) {
awsConfig := &aws.Config{}

region := "eu-central-1"

if rg := os.Getenv("AWS_REGION"); rg != "" {
region = rg
}

awsConfig.Region = aws.String(region)

if endpoint := os.Getenv("AWS_S3_ENDPOINT"); endpoint != "" {
awsConfig.Endpoint = aws.String(endpoint)
}
Expand Down

0 comments on commit 4ce7cee

Please sign in to comment.