diff --git a/generator/writer.go b/generator/writer.go index c60e5f8..85ed9fb 100644 --- a/generator/writer.go +++ b/generator/writer.go @@ -189,7 +189,7 @@ func Generate(p *compose.Parser, katernayVersion, appName, appVersion, composeFi } defer fp.Close() enc := yaml.NewEncoder(fp) - enc.SetIndent(2) + enc.SetIndent(writers.IndentSize) enc.Encode(c) } }