"docker compose config --output out.yml" resulted an empty file when the generated output was smaller than 4097 bytes. bufio.Writer doesn't seem necessary since only one write operation will happen. This way there is no need for a new bufio.Writer that could be flushed. Thanks for @thaJeztah for the idea of using os.WriteFile Issue https://github.com/docker/compose/issues/10121 Signed-off-by: Ákos Takács <takacs.akos@it-sziget.hu> |
||
|---|---|---|
| .. | ||
| compatibility | ||
| compose | ||
| formatter | ||
| main.go | ||