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:
parent
eaa2a8c2fe
commit
fb6221c4a3
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue