Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing required field SNSEntity.MessageAttributes. #21631

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions pkg/serverless/trigger/events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,12 @@ type SNSEventRecord struct {

// SNSEntity mirrors events.SNSEntity type, removing unused fields.
type SNSEntity struct {
MessageID string
Type string
TopicArn string
Timestamp time.Time
Subject string
MessageID string
Type string
TopicArn string
MessageAttributes map[string]interface{}
Timestamp time.Time
Subject string
}

// SQSEvent mirrors events.SQSEvent type, removing unused fields.
Expand Down
Loading