Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

*: fleet removes empty sections from unit files #1539

Open
kayrus opened this issue Apr 8, 2016 · 1 comment · May be fixed by coreos/go-systemd#147
Open

*: fleet removes empty sections from unit files #1539

kayrus opened this issue Apr 8, 2016 · 1 comment · May be fixed by coreos/go-systemd#147

Comments

@kayrus
Copy link
Contributor

kayrus commented Apr 8, 2016

i.e. if you submit something like:

[Unit]

[Service]
ExecStart=/bin/bash -c "while true; do echo Hello, World!; sleep 1; done"

You'll get different result from the registry:

[Service]
ExecStart=/bin/bash -c "while true; do echo Hello, World!; sleep 1; done"

P.S. discovered via #1523

@kayrus
Copy link
Contributor Author

kayrus commented Apr 8, 2016

Main point: make sha1sum failing.service output equal fleetctl cat failing.service | sha1sum

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

Successfully merging a pull request may close this issue.

2 participants