mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 18:10:59 +00:00
kio: don't apply folded style to wrapped items
This commit is contained in:
@@ -113,7 +113,6 @@ func (w ByteWriter) Write(nodes []*yaml.RNode) error {
|
|||||||
}
|
}
|
||||||
doc := &yaml.Node{
|
doc := &yaml.Node{
|
||||||
Kind: yaml.DocumentNode,
|
Kind: yaml.DocumentNode,
|
||||||
Style: yaml.FoldedStyle,
|
|
||||||
Content: []*yaml.Node{list}}
|
Content: []*yaml.Node{list}}
|
||||||
for i := range nodes {
|
for i := range nodes {
|
||||||
items.Content = append(items.Content, nodes[i].YNode())
|
items.Content = append(items.Content, nodes[i].YNode())
|
||||||
|
|||||||
Reference in New Issue
Block a user