Skip to content

Commit

Permalink
Don't use crap go yaml parser (#501)
Browse files Browse the repository at this point in the history
Nested objects become map[interface{}]interface{} which fails to then be json encoded, use k8s' internal one instead.
  • Loading branch information
michaeljguarino committed Apr 1, 2024
1 parent a1f1f33 commit c34749f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/file.go
Expand Up @@ -11,7 +11,7 @@ import (
"path/filepath"

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

func CopyFile(src, dest string) error {
Expand Down

0 comments on commit c34749f

Please sign in to comment.