File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 77parameters :
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
Original file line number Diff line number Diff line change 11module 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
77require (
88 github.com/BurntSushi/toml v1.2.1
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ func main() {
105105func 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{} {
123123func 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}
You can’t perform that action at this time.
0 commit comments