From 1acf124280a6c77d8e138d2edba657521b0f3b27 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani <45800463+rchincha@users.noreply.github.com> Date: Wed, 14 Aug 2024 13:09:45 -0700 Subject: [PATCH] chore: update go.mod deps (#2610) Fix outdated pkgs reported in issue #2522 Signed-off-by: Ramkumar Chinchani --- go.mod | 4 ++-- pkg/cli/client/server_info_cmd.go | 2 +- pkg/cli/client/service.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index db7d91b5c..fee25b73f 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 46aa35406..a25bf8fdb 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 5ebded385..5ddac93d9 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"