Skip to content

Commit c34749f

Browse files
Don't use crap go yaml parser (#501)
Nested objects become map[interface{}]interface{} which fails to then be json encoded, use k8s' internal one instead.
1 parent a1f1f33 commit c34749f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/utils/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"path/filepath"
1212

1313
"github.com/pluralsh/plural-cli/pkg/utils/pathing"
14-
"gopkg.in/yaml.v2"
14+
"sigs.k8s.io/yaml"
1515
)
1616

1717
func CopyFile(src, dest string) error {

0 commit comments

Comments
 (0)