properly initialize logger in bindings/sqs (#531)

This commit is contained in:
Trond Hindenes 2020-11-23 22:13:04 +01:00 committed by GitHub
parent 686b42fd18
commit b1f1ecc18b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ type sqsMetadata struct {
// NewAWSSQS returns a new AWS SQS instance
func NewAWSSQS(logger logger.Logger) *AWSSQS {
return &AWSSQS{}
return &AWSSQS{logger: logger}
}
// Init does metadata parsing and connection creation