Skip to content

Commit

Permalink
Merge pull request #48 from runreveal/alan/s3-config
Browse files Browse the repository at this point in the history
s/accessSecretKey/secretAccessKey/g
  • Loading branch information
abraithwaite authored Jun 25, 2024
2 parents ceae39f + 0d839ed commit 7c9b146
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ func WithAccessKeyID(accessKeyID string) Option {
}
}

func WithAccessSecretKey(accessSecretKey string) Option {
func WithSecretAccessKey(secretAccessKey string) Option {
return func(s *S3) {
s.accessSecretKey = accessSecretKey
s.secretAccessKey = secretAccessKey
}
}

Expand All @@ -70,7 +70,7 @@ type S3 struct {

customEndpoint string
accessKeyID string
accessSecretKey string
secretAccessKey string

batchSize int
}
Expand Down

0 comments on commit 7c9b146

Please sign in to comment.