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

checking for existence of config field #4810

Merged
merged 3 commits into from
Apr 1, 2024

Conversation

odopertchouk
Copy link
Contributor

Bug fix:
If using the built-in flask command, like run (like lemur run -p 127.0.0.1), the def cli(script_info, config) function is not being called, and thus config is not being set.
This causes a crash downstream, when factory.py tries to fetch data from .config

The fix allows run to execute correctly, as long as the config is passed in via LEMUR_CONF environment variable.

@jtschladen jtschladen enabled auto-merge April 1, 2024 18:28
@jtschladen jtschladen merged commit 076d8c8 into Netflix:main Apr 1, 2024
23 checks passed
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.

2 participants