Skip to content

Commit 8e4de78

Browse files
authored
Merge pull request #19440 from ivanvc/bump-go-to-1.24.0
Bump go toolchain to 1.24.1
2 parents 930bf4c + 7456d52 commit 8e4de78

File tree

16 files changed

+30
-29
lines changed

16 files changed

+30
-29
lines changed

.go-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.23.6
1+
1.24.1

api/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/api/v3
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
require (
88
github.com/coreos/go-semver v0.3.1

client/internal/v2/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/client/v2
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
require (
88
github.com/stretchr/testify v1.10.0

client/pkg/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/client/pkg/v3
22

3-
go 1.23
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
require (
88
github.com/coreos/go-systemd/v22 v22.5.0

client/v3/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/client/v3
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
require (
88
github.com/coreos/go-semver v0.3.1

etcdctl/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/etcdctl/v3
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
require (
88
github.com/bgentry/speakeasy v0.2.0

etcdutl/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/etcdutl/v3
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
replace (
88
go.etcd.io/etcd/api/v3 => ../api

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/v3
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
replace (
88
go.etcd.io/etcd/api/v3 => ./api

pkg/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/pkg/v3
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
require (
88
github.com/creack/pty v1.1.18

server/embed/config_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ func TestLogRotation(t *testing.T) {
843843
logOutputs: []string{"/tmp/path"},
844844
logRotationConfig: `{"maxsize": true}`,
845845
wantErr: true,
846-
wantErrMsg: errors.New("invalid log rotation config: json: cannot unmarshal bool into Go struct field logRotationConfig.maxsize of type int"),
846+
wantErrMsg: errors.New("invalid log rotation config: json: cannot unmarshal bool into Go struct field logRotationConfig.Logger.maxsize of type int"),
847847
},
848848
{
849849
name: "improperly formatted logger config",

server/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/server/v3
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
require (
88
github.com/coreos/go-semver v0.3.1

tests/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/tests/v3
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
replace (
88
go.etcd.io/etcd/api/v3 => ../api

tools/.golangci.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ linters:
3535
- unparam
3636
- unused
3737
- usestdlibvars
38-
- usetesting
38+
# Disabled in the meanwhile, it raises several issues with new Go 1.24 functions
39+
# - usetesting
3940
- whitespace
4041
linters-settings: # please keep this alphabetized
4142
goimports:

tools/mod/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/tools/v3
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
require (
88
github.com/alexfalkowski/gocovmerge v1.4.0

tools/rw-heatmaps/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/tools/rw-heatmaps/v3
22

3-
go 1.23
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
require (
88
github.com/spf13/cobra v1.9.1

tools/testgrid-analysis/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module go.etcd.io/etcd/tools/testgrid-analysis/v3
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.6
5+
toolchain go1.24.1
66

77
require (
88
github.com/GoogleCloudPlatform/testgrid v0.0.173

0 commit comments

Comments
 (0)