Go: Bump to v1.24.1. (#12935)

This commit is contained in:
Marco Ebert 2025-03-05 15:35:45 +01:00 committed by GitHub
parent f7f9768f96
commit 07a1133585
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 8 additions and 9 deletions

View File

@ -30,5 +30,4 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
with:
version: v1.62
only-new-issues: true

View File

@ -1 +1 @@
1.23.6
1.24.1

2
go.mod
View File

@ -1,6 +1,6 @@
module k8s.io/ingress-nginx
go 1.23.6
go 1.24.1
require (
dario.cat/mergo v1.0.1

View File

@ -1,6 +1,6 @@
module k8s.io/ingress-nginx/custom-error-pages
go 1.23.6
go 1.24.1
require github.com/prometheus/client_golang v1.21.1

View File

@ -1,6 +1,6 @@
module example.com/authsvc
go 1.23.6
go 1.24.1
require k8s.io/apimachinery v0.32.2

View File

@ -1,6 +1,6 @@
module github.com/jet/kube-webhook-certgen
go 1.23.6
go 1.24.1
require (
github.com/onrik/logrus v0.11.0

View File

@ -117,7 +117,7 @@ func TestParse(t *testing.T) {
ing.SetAnnotations(testCase.annotations)
result, err := ap.Parse(ing)
if err != nil {
t.Errorf(err.Error())
t.Error(err)
}
if !reflect.DeepEqual(result, testCase.expected) {
t.Errorf("expected %+v but returned %+v, annotations: %s", testCase.expected, result, testCase.annotations)

View File

@ -110,7 +110,7 @@ func TestStatusCollector(t *testing.T) {
w.WriteHeader(http.StatusOK)
if r.URL.Path == "/nginx_status" {
_, err := fmt.Fprintf(w, c.mock)
_, err := fmt.Fprint(w, c.mock)
if err != nil {
t.Fatal(err)
}

View File

@ -1,6 +1,6 @@
module k8s.io/ingress-nginx/magefiles
go 1.23.6
go 1.24.1
require (
github.com/blang/semver/v4 v4.0.0