Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion events/alb.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type ALBTargetGroupRequest struct {
MultiValueHeaders map[string][]string `json:"multiValueHeaders,omitempty"`
RequestContext ALBTargetGroupRequestContext `json:"requestContext"`
IsBase64Encoded bool `json:"isBase64Encoded"`
Body string `json:"body"`
Body string `json:"body,omitempty"`
}

// ALBTargetGroupRequestContext contains the information to identify the load balancer invoking the lambda
Expand Down
3 changes: 1 addition & 2 deletions events/testdata/alb-lambda-target-request-headers-only.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@
"x-imforwards": "20",
"x-myheader": "123"
},
"body": "",
"isBase64Encoded": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
"123"
]
},
"body": "",
"body": "Some text",
"isBase64Encoded": false
}
}