Switch to Go 1.22 to get rid of global loop variable bug

This commit is contained in:
Jan Eitzinger 2024-07-11 16:12:20 +02:00
parent f1427d5272
commit e8e3b1595d
Signed by: moebiusband
GPG Key ID: 2574BA29B90D6DD5
2 changed files with 3 additions and 1 deletions

3
go.mod
View File

@ -1,12 +1,13 @@
module github.com/ClusterCockpit/cc-backend module github.com/ClusterCockpit/cc-backend
go 1.18 go 1.22
require ( require (
github.com/99designs/gqlgen v0.17.45 github.com/99designs/gqlgen v0.17.45
github.com/ClusterCockpit/cc-units v0.4.0 github.com/ClusterCockpit/cc-units v0.4.0
github.com/Masterminds/squirrel v1.5.3 github.com/Masterminds/squirrel v1.5.3
github.com/coreos/go-oidc/v3 v3.9.0 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-co-op/gocron v1.25.0
github.com/go-ldap/ldap/v3 v3.4.4 github.com/go-ldap/ldap/v3 v3.4.4
github.com/go-sql-driver/mysql v1.7.0 github.com/go-sql-driver/mysql v1.7.0

View File

@ -29,4 +29,5 @@ func TestClusterConfig(t *testing.T) {
} }
// spew.Dump(archive.GlobalMetricList) // spew.Dump(archive.GlobalMetricList)
// t.Fail()
} }