aws / aws-lambda-runtime-interface-emulator

Apache License 2.0
939 stars 99 forks source link

Fix name of memory env var in README #17

Closed astahlman closed 3 years ago

astahlman commented 3 years ago

Issue #, if available: N/A

Description of changes:

The key is AWS_LAMBDA_FUNCTION_MEMORY_SIZE, not AWS_LAMBDA_MEMORY_SIZE (see its usage in the code [1])

[1] https://github.com/aws/aws-lambda-runtime-interface-emulator/blob/6a74e68cb79a256b771210e7c46a0ca2e1cea61b/lambda/rapidcore/env/constants.go#L26

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

mgrandis commented 3 years ago

Thank you for this contribution @astahlman Can you please fix the conflict (We just merged another PR updating the README.md)