From c9a011bd7acced5de8eb84a264ba88b63307fba3 Mon Sep 17 00:00:00 2001 From: Hasan Mahmood Date: Mon, 3 Mar 2025 11:31:26 -0600 Subject: [PATCH] Use yaml v3 to fix panic --- components/kubernetes/cilium/kind.go | 2 +- go.mod | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/kubernetes/cilium/kind.go b/components/kubernetes/cilium/kind.go index 545ebca14..8a7693d56 100644 --- a/components/kubernetes/cilium/kind.go +++ b/components/kubernetes/cilium/kind.go @@ -8,7 +8,7 @@ import ( "text/template" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" "github.com/DataDog/test-infra-definitions/common/config" "github.com/DataDog/test-infra-definitions/common/utils" diff --git a/go.mod b/go.mod index 17ab8a67a..62130dfc4 100644 --- a/go.mod +++ b/go.mod @@ -35,7 +35,6 @@ require ( github.com/samber/lo v1.47.0 github.com/stretchr/testify v1.10.0 golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 - gopkg.in/yaml.v2 v2.4.0 gopkg.in/yaml.v3 v3.0.1 )