Skip to content

Commit

Permalink
Go: Bump to v1.24.1. (#12943)
Browse files Browse the repository at this point in the history
Co-authored-by: Marco Ebert <[email protected]>
  • Loading branch information
k8s-infra-cherrypick-robot and Gacko authored Mar 5, 2025
1 parent 19c0e10 commit 1301ba7
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion GOLANG_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.23.6
1.24.1
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module k8s.io/ingress-nginx

go 1.23.6
go 1.24.1

require (
dario.cat/mergo v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion images/custom-error-pages/rootfs/go.mod
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion images/ext-auth-example-authsvc/rootfs/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module example.com/authsvc

go 1.23.6
go 1.24.1

require k8s.io/apimachinery v0.32.2

Expand Down
2 changes: 1 addition & 1 deletion images/kube-webhook-certgen/rootfs/go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion internal/ingress/annotations/mirror/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion internal/ingress/metric/collectors/nginx_status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion magefiles/go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1301ba7

Please sign in to comment.