This is an automated email from the ASF dual-hosted git repository.

wilfreds pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git


The following commit(s) were added to refs/heads/master by this push:
     new c6cffc49 [YUNIKORN-1819] Update yaml dependency (#620)
c6cffc49 is described below

commit c6cffc4903cc136a9e7db88e061a0a1262997095
Author: wusamzong <[email protected]>
AuthorDate: Fri Jun 23 13:49:39 2023 +1000

    [YUNIKORN-1819] Update yaml dependency (#620)
    
    Closes: #620
    
    Signed-off-by: Wilfred Spiegelenburg <[email protected]>
---
 go.mod                                                   | 4 ++--
 test/e2e/framework/helpers/common/deserializer.go        | 2 +-
 test/e2e/framework/helpers/common/test_queues_configs.go | 2 +-
 test/e2e/framework/helpers/yunikorn/wrappers.go          | 2 +-
 test/e2e/wrappers.go                                     | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/go.mod b/go.mod
index dd210270..f192ed40 100644
--- a/go.mod
+++ b/go.mod
@@ -30,7 +30,7 @@ require (
        github.com/onsi/ginkgo/v2 v2.9.0
        github.com/onsi/gomega v1.27.1
        go.uber.org/zap v1.24.0
-       gopkg.in/yaml.v2 v2.4.0
+       gopkg.in/yaml.v3 v3.0.1
        gotest.tools/v3 v3.0.3
        k8s.io/api v0.23.14
        k8s.io/apimachinery v0.23.14
@@ -142,7 +142,7 @@ require (
        google.golang.org/protobuf v1.28.1 // indirect
        gopkg.in/inf.v0 v0.9.1 // indirect
        gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
-       gopkg.in/yaml.v3 v3.0.1 // indirect
+       gopkg.in/yaml.v2 v2.4.0 // indirect
        k8s.io/cloud-provider v0.23.14 // indirect
        k8s.io/component-helpers v0.23.14 // indirect
        k8s.io/csi-translation-lib v0.23.14 // indirect
diff --git a/test/e2e/framework/helpers/common/deserializer.go 
b/test/e2e/framework/helpers/common/deserializer.go
index c5aa2dfb..09457c1f 100644
--- a/test/e2e/framework/helpers/common/deserializer.go
+++ b/test/e2e/framework/helpers/common/deserializer.go
@@ -19,7 +19,7 @@
 package common
 
 import (
-       "gopkg.in/yaml.v2"
+       "gopkg.in/yaml.v3"
        "k8s.io/apimachinery/pkg/runtime"
        "k8s.io/client-go/kubernetes/scheme"
 )
diff --git a/test/e2e/framework/helpers/common/test_queues_configs.go 
b/test/e2e/framework/helpers/common/test_queues_configs.go
index a1caefdf..45fd20df 100644
--- a/test/e2e/framework/helpers/common/test_queues_configs.go
+++ b/test/e2e/framework/helpers/common/test_queues_configs.go
@@ -26,7 +26,7 @@ import (
 
        "github.com/apache/yunikorn-core/pkg/common/configs"
 
-       "gopkg.in/yaml.v2"
+       "gopkg.in/yaml.v3"
 )
 
 // Converts partitionsWrapper to YAML string
diff --git a/test/e2e/framework/helpers/yunikorn/wrappers.go 
b/test/e2e/framework/helpers/yunikorn/wrappers.go
index 570c09e0..38f7ec9c 100644
--- a/test/e2e/framework/helpers/yunikorn/wrappers.go
+++ b/test/e2e/framework/helpers/yunikorn/wrappers.go
@@ -21,7 +21,7 @@ package yunikorn
 import (
        "time"
 
-       "gopkg.in/yaml.v2"
+       "gopkg.in/yaml.v3"
        v1 "k8s.io/api/core/v1"
 
        "github.com/apache/yunikorn-k8shim/pkg/common/constants"
diff --git a/test/e2e/wrappers.go b/test/e2e/wrappers.go
index 0eac6226..c85a4f60 100644
--- a/test/e2e/wrappers.go
+++ b/test/e2e/wrappers.go
@@ -25,7 +25,7 @@ import (
 
        "github.com/onsi/ginkgo/v2"
        "github.com/onsi/gomega"
-       "gopkg.in/yaml.v2"
+       "gopkg.in/yaml.v3"
        v1 "k8s.io/api/core/v1"
        metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to