Skip to content

Commit b67326f

Browse files
authored
feat: Update go to 1.24.9 (#26959)
1 parent c9430a4 commit b67326f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ orbs:
77
parameters:
88
cross-container-tag:
99
type: string
10-
default: go1.23.12-latest
10+
default: go1.24.9-latest
1111

1212
workflow:
1313
type: string
@@ -350,7 +350,7 @@ jobs:
350350
- run:
351351
name: staticcheck
352352
command: |
353-
go install honnef.co/go/tools/cmd/staticcheck@2024.1.1
353+
go install honnef.co/go/tools/cmd/staticcheck@2025.1.1
354354
staticcheck ./...
355355
when: always
356356

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/influxdata/influxdb/v2
22

3-
go 1.23.0
3+
go 1.24.0
44

5-
toolchain go1.23.12
5+
toolchain go1.24.9
66

77
require (
88
github.com/BurntSushi/toml v1.2.1

http/query_handler_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ func TestFluxService_Check(t *testing.T) {
291291
Checks: check.Responses{},
292292
}
293293
if !cmp.Equal(want, got) {
294-
t.Errorf("unexpected response -want/+got: " + cmp.Diff(want, got))
294+
t.Error("unexpected response -want/+got: " + cmp.Diff(want, got))
295295
}
296296
}
297297

@@ -309,7 +309,7 @@ func TestFluxQueryService_Check(t *testing.T) {
309309
Checks: check.Responses{},
310310
}
311311
if !cmp.Equal(want, got) {
312-
t.Errorf("unexpected response -want/+got: " + cmp.Diff(want, got))
312+
t.Error("unexpected response -want/+got: " + cmp.Diff(want, got))
313313
}
314314
}
315315

tools/tmpl/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func main() {
105105
func mustReadAll(path string) []byte {
106106
data, err := os.ReadFile(path)
107107
if err != nil {
108-
errExit(err.Error())
108+
errExit("%s", err.Error())
109109
}
110110

111111
return data
@@ -123,7 +123,7 @@ func readData(path string) interface{} {
123123
func fileMode(path string) os.FileMode {
124124
stat, err := os.Stat(path)
125125
if err != nil {
126-
errExit(err.Error())
126+
errExit("%s", err.Error())
127127
}
128128
return stat.Mode()
129129
}

0 commit comments

Comments
 (0)