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

S3 size is optional #286

Merged
merged 1 commit into from Apr 28, 2020
Merged

S3 size is optional #286

merged 1 commit into from Apr 28, 2020

Conversation

LegNeato
Copy link
Contributor

The size field can be empty. It just so happens marshaling uses Go's default which is 0, so this doesn't show up as an error. But if you inspect the payload it can be empty.

Though not directly of concern to the go lib, without this it is causing calavera/aws-lambda-events#11.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The `size` field can be empty. It just so happens marshaling uses Go's default which is `0`, so this doesn't show up as an error. But if you inspect the payload it can be empty.

Though not directly of concern to the go lib, without this it is causing calavera/aws-lambda-events#11.
@bmoffatt bmoffatt merged commit 4e5ba49 into aws:master Apr 28, 2020
@LegNeato LegNeato deleted the patch-2 branch May 4, 2020 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants