From e8e3b1595d2efa40a0ce6e211e6617e6eb63fdef Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Thu, 11 Jul 2024 16:12:20 +0200 Subject: [PATCH] Switch to Go 1.22 to get rid of global loop variable bug --- go.mod | 3 ++- pkg/archive/clusterConfig_test.go | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index fddcfbc..6e86ea7 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,13 @@ module github.com/ClusterCockpit/cc-backend -go 1.18 +go 1.22 require ( github.com/99designs/gqlgen v0.17.45 github.com/ClusterCockpit/cc-units v0.4.0 github.com/Masterminds/squirrel v1.5.3 github.com/coreos/go-oidc/v3 v3.9.0 + github.com/davecgh/go-spew v1.1.1 github.com/go-co-op/gocron v1.25.0 github.com/go-ldap/ldap/v3 v3.4.4 github.com/go-sql-driver/mysql v1.7.0 diff --git a/pkg/archive/clusterConfig_test.go b/pkg/archive/clusterConfig_test.go index c73ab81..8624374 100644 --- a/pkg/archive/clusterConfig_test.go +++ b/pkg/archive/clusterConfig_test.go @@ -29,4 +29,5 @@ func TestClusterConfig(t *testing.T) { } // spew.Dump(archive.GlobalMetricList) + // t.Fail() }