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

Feature/support any number versions #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chechu
Copy link

@chechu chechu commented Aug 31, 2019

Thank you for this package Sam. We have been using it during the last months and everything was right.

In the last days we have discovered a weak in the package. If the versions associated with a lambda are more than 50 (the default number of versions returned by AWS.Lambda.listVersionsByFunction), and the lib has to calculate the last version number, this calculation can be wrong, because it doesn't get every version (just the first 50 ones).

I've modified the lib, making recursive calls when needed, to get every lambda version from AWS. Moreover, I've updated the tests to make them compatible with the installed version of ava, and I've added a test for the new feature.

I hope this PR could me merge in your library :-)

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

1 participant