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

Function's existing environment variables are discarded #3

Open
vbichkovsky opened this issue Apr 2, 2020 · 1 comment
Open

Function's existing environment variables are discarded #3

vbichkovsky opened this issue Apr 2, 2020 · 1 comment

Comments

@vbichkovsky
Copy link

vbichkovsky commented Apr 2, 2020

It seems that after running the loop on an existing function, environment variables it had are just discarded. So the function ends up with just 'uuid' env variable after measuring cold starts on it.

What makes it worse is that 'severless deploy' doesn't reset these variables back for some reason, so it could be quite confusing finding out that some function is no longer working after measuring cold starts.

Btw, one side-effect of this approach is that it's not possible to properly test functions which depend on environment variables.

@drissamri
Copy link
Contributor

This has been fixed in the latest versions by Yan! 👍

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

No branches or pull requests

2 participants