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

Allow starting the worker with no conf.json file present #34

Closed
naorlivne opened this issue Dec 16, 2018 · 1 comment
Closed

Allow starting the worker with no conf.json file present #34

naorlivne opened this issue Dec 16, 2018 · 1 comment

Comments

@naorlivne
Copy link
Member

Expected/Wanted Behavior

The worker should work even without any config file existing if it has all the needed params given as envvars.

Actual Behavior

Currently this is worked around by having an empty config file in the root of the repo but a conf.json file is still needed to exist or the start will fail.

How to fix

We need to check if the conf.json exists before reading from it and if it doesn't exist set the auth_file var to be an empty dict.

@naorlivne
Copy link
Member Author

Fixed in latest, will be added to the next numbered release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant