Skip to content

Commit

Permalink
fix kots build (#2035)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Aug 4, 2021
1 parent c960663 commit e817ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func GetConfig() *aws.Config {

var creds *credentials.Credentials
if accessKeyID != "" && secretAccessKey != "" {
creds := credentials.NewStaticCredentials(accessKeyID, secretAccessKey, "")
creds = credentials.NewStaticCredentials(accessKeyID, secretAccessKey, "")
}

s3Config := &aws.Config{
Expand Down

0 comments on commit e817ab5

Please sign in to comment.