From 45fe4a9e79e0c4291d1b80abdcc79a7ea9a7b0f4 Mon Sep 17 00:00:00 2001 From: Nianyu Shen Date: Mon, 23 Sep 2024 21:22:11 -0700 Subject: [PATCH] chore(dep): bump yaml from v2 to v3 Signed-off-by: Nianyu Shen --- go.mod | 2 +- pkg/provider/provider.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 7a01690..aa0eb0c 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,6 @@ require ( github.com/kairos-io/kairos-sdk v0.4.2 github.com/mudler/yip v1.9.4 github.com/sirupsen/logrus v1.9.3 - gopkg.in/yaml.v2 v2.4.0 gopkg.in/yaml.v3 v3.0.1 sigs.k8s.io/yaml v1.4.0 ) @@ -29,4 +28,5 @@ require ( golang.org/x/sys v0.24.0 // indirect gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect ) diff --git a/pkg/provider/provider.go b/pkg/provider/provider.go index 1a8f4fd..ba12c17 100644 --- a/pkg/provider/provider.go +++ b/pkg/provider/provider.go @@ -14,7 +14,7 @@ import ( "github.com/c3os-io/c3os/provider-rke2/pkg/types" "github.com/kairos-io/kairos-sdk/clusterplugin" yip "github.com/mudler/yip/pkg/schema" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" kyaml "sigs.k8s.io/yaml" )