diff --git a/go.mod b/go.mod index db7d91b5..fee25b73 100644 --- a/go.mod +++ b/go.mod @@ -65,7 +65,7 @@ require ( golang.org/x/oauth2 v0.22.0 google.golang.org/protobuf v1.34.2 gopkg.in/resty.v1 v1.12.0 - gopkg.in/yaml.v2 v2.4.0 + gopkg.in/yaml.v3 v3.0.1 modernc.org/sqlite v1.32.0 oras.land/oras-go/v2 v2.5.0 ) @@ -485,7 +485,7 @@ require ( gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect helm.sh/helm/v3 v3.15.3 // indirect k8s.io/api v0.30.3 // indirect k8s.io/apiextensions-apiserver v0.30.3 // indirect diff --git a/pkg/cli/client/server_info_cmd.go b/pkg/cli/client/server_info_cmd.go index 46aa3540..a25bf8fd 100644 --- a/pkg/cli/client/server_info_cmd.go +++ b/pkg/cli/client/server_info_cmd.go @@ -11,7 +11,7 @@ import ( "strings" "github.com/spf13/cobra" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" zerr "zotregistry.dev/zot/errors" "zotregistry.dev/zot/pkg/api/constants" diff --git a/pkg/cli/client/service.go b/pkg/cli/client/service.go index 5ebded38..5ddac93d 100644 --- a/pkg/cli/client/service.go +++ b/pkg/cli/client/service.go @@ -18,7 +18,7 @@ import ( "github.com/olekukonko/tablewriter" godigest "github.com/opencontainers/go-digest" ispec "github.com/opencontainers/image-spec/specs-go/v1" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" zerr "zotregistry.dev/zot/errors" "zotregistry.dev/zot/pkg/api/constants"