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 empty lines in neuro run --env-file #1208

Closed
atemate opened this issue Dec 1, 2019 · 0 comments · Fixed by #1296
Closed

Allow empty lines in neuro run --env-file #1208

atemate opened this issue Dec 1, 2019 · 0 comments · Fixed by #1296
Labels

Comments

@atemate
Copy link
Contributor

atemate commented Dec 1, 2019

I want the env-file to allow empty lines because it's a real use-case to have empty lines:

  1. separator
  2. lack of trailing emptyline is hard to maintain in an automated workflow.
[ay@archlinux ~]$ cat env
key=val
val2

[ay@archlinux ~]$ neuro run -s cpu-small -n test-env --env-file=env ubuntu "true"
ERROR: Illegal argument(s) ({'container': DataError({'env': DataError({'': DataError({'key': DataError(blank value is not allowed)})})})})
[ay@archlinux ~]$ vim env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants