From 1554ce286e39b60c02ef56a0ab4b1e7c1d71071a Mon Sep 17 00:00:00 2001 From: Stephan Renatus Date: Mon, 9 Sep 2024 15:26:03 +0200 Subject: [PATCH] build: bump go used for build to 1.23.1 (#7006) Signed-off-by: Stephan Renatus --- .go-version | 2 +- internal/prometheus/prometheus_test.go | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.go-version b/.go-version index da9594fd66..49e0a31d49 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.22.5 +1.23.1 diff --git a/internal/prometheus/prometheus_test.go b/internal/prometheus/prometheus_test.go index 5327fa4728..e237c233ba 100644 --- a/internal/prometheus/prometheus_test.go +++ b/internal/prometheus/prometheus_test.go @@ -124,7 +124,7 @@ func TestJSONSerialization(t *testing.T) { "go_godebug_non_default_behavior_http2client_events_total", "go_godebug_non_default_behavior_http2server_events_total", "go_godebug_non_default_behavior_installgoroot_events_total", - "go_godebug_non_default_behavior_jstmpllitinterp_events_total", + // "go_godebug_non_default_behavior_jstmpllitinterp_events_total", // this one was removed in 1.23 "go_godebug_non_default_behavior_panicnil_events_total", "go_godebug_non_default_behavior_randautoseed_events_total", "go_godebug_non_default_behavior_tarinsecurepath_events_total", @@ -142,7 +142,14 @@ func TestJSONSerialization(t *testing.T) { "go_godebug_non_default_behavior_tls10server_events_total", "go_godebug_non_default_behavior_httpmuxgo121_events_total", "go_godebug_non_default_behavior_tlsrsakex_events_total", - "go_godebug_non_default_behavior_netedns0_events_total", // added in 1.22.5 + "go_godebug_non_default_behavior_netedns0_events_total", // added in 1.22.5 + "go_godebug_non_default_behavior_x509negativeserial_events_total", // added in 1.23.1 (or 1.23) + "go_godebug_non_default_behavior_winsymlink_events_total", + "go_godebug_non_default_behavior_x509keypairleaf_events_total", + "go_godebug_non_default_behavior_winreadlinkvolume_events_total", + "go_godebug_non_default_behavior_asynctimerchan_events_total", + "go_godebug_non_default_behavior_httpservecontentkeepheaders_events_total", + "go_godebug_non_default_behavior_tls3des_events_total", }, "SUMMARY": { "go_gc_duration_seconds",