Instruct kyaml/kio to retain sequence indentation style
Signed-off-by: Erik Godding Boye <egboye@gmail.com>
This commit is contained in:
parent
4a6445247b
commit
06408559f1
|
@ -118,8 +118,9 @@ func (r *ScreeningLocalReader) Read() ([]*yaml.RNode, error) {
|
|||
|
||||
tracelog.Info("reading file", "path", path)
|
||||
rdr := &kio.ByteReader{
|
||||
Reader: bytes.NewBuffer(filebytes),
|
||||
SetAnnotations: annotations,
|
||||
Reader: bytes.NewBuffer(filebytes),
|
||||
SetAnnotations: annotations,
|
||||
PreserveSeqIndent: true,
|
||||
}
|
||||
|
||||
nodes, err := rdr.Read()
|
||||
|
|
Loading…
Reference in New Issue