fix(deps): update module gopkg.in/yaml.v2 to v3

This commit is contained in:
renovate[bot] 2023-06-14 12:48:44 +00:00 committed by GitHub
parent c8783227c4
commit 00f84cf707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 7 deletions

2
go.mod
View File

@ -7,7 +7,7 @@ require (
github.com/bmatcuk/doublestar/v4 v4.6.0 github.com/bmatcuk/doublestar/v4 v4.6.0
github.com/docker/go-units v0.5.0 github.com/docker/go-units v0.5.0
github.com/google/go-cmp v0.5.9 github.com/google/go-cmp v0.5.9
gopkg.in/yaml.v2 v2.4.0 gopkg.in/yaml.v3 v3.0.1
) )
require ( require (

3
go.sum
View File

@ -26,6 +26,5 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

View File

@ -8,7 +8,7 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v3"
) )
// Resource enums. // Resource enums.

View File

@ -11,7 +11,7 @@ import (
"os" "os"
"strings" "strings"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v3"
) )
var ErrMissingKind = errors.New("yaml: missing kind attribute") var ErrMissingKind = errors.New("yaml: missing kind attribute")

View File

@ -7,7 +7,7 @@ import (
"strings" "strings"
"testing" "testing"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v3"
) )
// this unit tests pretty prints a complex yaml structure // this unit tests pretty prints a complex yaml structure

View File

@ -6,7 +6,7 @@ package yaml
import ( import (
"testing" "testing"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v3"
) )
func TestBytesSize(t *testing.T) { func TestBytesSize(t *testing.T) {