From 4431e6798dbb61c0d49d1831302d86dc4fabe93d Mon Sep 17 00:00:00 2001 From: Yihao Wang Date: Sun, 19 Jan 2025 17:58:06 +1300 Subject: [PATCH 1/2] Bump Go version to 1.22.11 Signed-off-by: Yihao Wang --- .go-version | 2 +- go.mod | 2 +- hack/util.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.go-version b/.go-version index d28b1eb8f3f6..3dfc2ecf954d 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.22.9 +1.22.11 diff --git a/go.mod b/go.mod index daae2020e110..a7f48362ec2e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/karmada-io/karmada -go 1.22.9 // keep in sync with .go-version and hack/util.sh +go 1.22.11 // keep in sync with .go-version and hack/util.sh require ( github.com/adhocore/gronx v1.6.3 diff --git a/hack/util.sh b/hack/util.sh index 6c4da8709b19..2e42f9b76d07 100755 --- a/hack/util.sh +++ b/hack/util.sh @@ -37,7 +37,7 @@ KARMADA_METRICS_ADAPTER_LABEL="karmada-metrics-adapter" KARMADA_GO_PACKAGE="github.com/karmada-io/karmada" -MIN_Go_VERSION=go1.22.9 +MIN_Go_VERSION=go1.22.11 DEFAULT_CLUSTER_VERSION="kindest/node:v1.31.0" From 975fcd611fc2010d50511a22af23e227472c1e49 Mon Sep 17 00:00:00 2001 From: Yihao Wang Date: Mon, 20 Jan 2025 21:48:54 +1300 Subject: [PATCH 2/2] Update test cert Signed-off-by: Yihao Wang --- pkg/util/membercluster_client_test.go | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pkg/util/membercluster_client_test.go b/pkg/util/membercluster_client_test.go index e286a359d26a..38a357ed6c5a 100644 --- a/pkg/util/membercluster_client_test.go +++ b/pkg/util/membercluster_client_test.go @@ -38,24 +38,24 @@ import ( // copy from go/src/net/http/internal/testcert/testcert.go var testCA = []byte(`-----BEGIN CERTIFICATE----- -MIIDOTCCAiGgAwIBAgIQSR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QH/MB0GA1Ud -DgQWBBStsdjh3/JCXXYlQryOrL4Sh7BW5TAuBgNVHREEJzAlggtleGFtcGxlLmNv -bYcEfwAAAYcQAAAAAAAAAAAAAAAAAAAAATANBgkqhkiG9w0BAQsFAAOCAQEAxWGI -5NhpF3nwwy/4yB4i/CwwSpLrWUa70NyhvprUBC50PxiXav1TeDzwzLx/o5HyNwsv -cxv3HdkLW59i/0SlJSrNnWdfZ19oTcS+6PtLoVyISgtyN6DpkKpdG1cOkW3Cy2P2 -+tK/tKHRP1Y/Ra0RiDpOAmqn0gCOFGz8+lqDIor/T7MTpibL3IxqWfPrvfVRHL3B -grw/ZQTTIVjjh4JBSW3WyWgNo/ikC1lrVxzl4iPUGptxT36Cr7Zk2Bsg0XqwbOvK -5d+NTDREkSnUbie4GeutujmX3Dsx88UiV6UY/4lHJa6I5leHUNOHahRbpbWeOfs/ -WkBKOclmOV2xlTVuPw== +DgQWBBQR5QIzmacmw78ZI1C4MXw7Q0wJ1jA9BgNVHREENjA0ggtleGFtcGxlLmNv +bYINKi5leGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAAAAAAATANBgkqhkiG +9w0BAQsFAAOCAQEACrRNgiioUDzxQftd0fwOa6iRRcPampZRDtuaF68yNHoNWbOu +LUwc05eOWxRq3iABGSk2xg+FXM3DDeW4HhAhCFptq7jbVZ+4Jj6HeJG9mYRatAxR +Y/dEpa0D0EHhDxxVg6UzKOXB355n0IetGE/aWvyTV9SiDs6QsaC57Q9qq1/mitx5 +2GFBoapol9L5FxCc77bztzK8CpLujkBi25Vk6GAFbl27opLfpyxkM+rX/T6MXCPO +6/YBacNZ7ff1/57Etg4i5mNA6ubCpuc4Gi9oYqCNNohftr2lkJr7REdDR6OW0lsL +rF7r4gUnKeC7mYIH1zypY7laskopiLFAfe96Kg== -----END CERTIFICATE-----`) func TestNewClusterScaleClientSet(t *testing.T) {