yaml: adopt for `sigs.k8s.io/yaml` `v1.4.0`

Due to switch to a hard fork of goyaml.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
Hidde Beydals 2023-11-24 12:46:34 +01:00
parent eaa2a8c2fe
commit fb6221c4a3
No known key found for this signature in database
GPG Key ID: 979F380FC2341744
3 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,8 @@ package yaml
import (
"io"
goyaml "gopkg.in/yaml.v2"
"sigs.k8s.io/yaml"
goyaml "sigs.k8s.io/yaml/goyaml.v2"
)
// PreEncoder allows for pre-processing of the YAML data before encoding.

View File

@ -19,7 +19,7 @@ package yaml
import (
"sort"
goyaml "gopkg.in/yaml.v2"
goyaml "sigs.k8s.io/yaml/goyaml.v2"
)
// SortMapSlice recursively sorts the given goyaml.MapSlice by key.

View File

@ -20,8 +20,8 @@ import (
"bytes"
"testing"
goyaml "gopkg.in/yaml.v2"
"sigs.k8s.io/yaml"
goyaml "sigs.k8s.io/yaml/goyaml.v2"
)
func TestSortMapSlice(t *testing.T) {