Merge pull request #2177 from pwittrock/master

kio: don't apply folded style to wrapped items
This commit is contained in:
Kubernetes Prow Robot
2020-02-04 14:18:42 -08:00
committed by GitHub

View File

@@ -113,7 +113,6 @@ func (w ByteWriter) Write(nodes []*yaml.RNode) error {
}
doc := &yaml.Node{
Kind: yaml.DocumentNode,
Style: yaml.FoldedStyle,
Content: []*yaml.Node{list}}
for i := range nodes {
items.Content = append(items.Content, nodes[i].YNode())