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

print warnings to stderr #47

Closed
dustymabe opened this issue Sep 8, 2019 · 0 comments · Fixed by #49
Closed

print warnings to stderr #47

dustymabe opened this issue Sep 8, 2019 · 0 comments · Fixed by #49
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@dustymabe
Copy link
Member

$ ./fcct-x86_64-unknown-linux-gnu -version
Fedora CoreOS Config Transpiler v0.2.0
$ cat example.fcct | ./fcct-x86_64-unknown-linux-gnu > example.ign 
$ echo $?
0

Usually I would then take example.ign and feed it into an instance start, but it's actually invalid json because the warnings got put in the file:

$ cat example.ign | head -n 2
warning at $.systemd.units.1.name, line 41 col 13: unit "docker.mount" is enabled, but has no install section so enable does nothing
warning at $.systemd.units.2.name, line 49 col 13: unit "dockerdata.mount" is enabled, but has no install section so enable does nothing

Should we print those to stderr?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants