Skip to content

Commit 8a2499f

Browse files
chore: update to go 1.20.3 (#496)
* chore: update to go 1.20.3 * chore: update to go 1.20.3
1 parent 929952d commit 8a2499f

File tree

4 files changed

+83
-51
lines changed

4 files changed

+83
-51
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ executors:
66
# NOTE: To upgrade the Go version, first push the upgrade to the cross-builder Dockerfile in the edge repo,
77
# then update the version here to match. Until we finish the migration to using the cross-builder image,
88
# you'll also need to update references to `cimg/go` and `GO_VERSION` in this file.
9-
- image: quay.io/influxdb/cross-builder:go1.19.4-cb1343dd74ecba8ec07fe810195530a0b9055aa9
9+
- image: quay.io/influxdb/cross-builder:go1.20.3-a38b5cac193a1bdf7436f45581167a43835cc727
1010
resource_class: medium
1111
linux-amd64:
1212
machine:

config/local.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func (s baseRW) parsePreviousActive() (Config, error) {
160160
// ListConfigs decodes configs from io readers
161161
func (s baseRW) ListConfigs() (Configs, error) {
162162
cfgs := make(Configs)
163-
_, err := toml.DecodeReader(s.r, &cfgs)
163+
_, err := toml.NewDecoder(s.r).Decode(&cfgs)
164164
for n, cfg := range cfgs {
165165
cfg.Name = n
166166
cfgs[n] = cfg

go.mod

+23-16
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,44 @@
11
module github.com/influxdata/influx-cli/v2
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/AlecAivazis/survey/v2 v2.3.4
7-
github.com/BurntSushi/toml v0.4.1
7+
github.com/BurntSushi/toml v1.2.1
88
github.com/MakeNowJust/heredoc/v2 v2.0.1
99
github.com/charmbracelet/bubbletea v0.21.0
1010
github.com/charmbracelet/lipgloss v0.5.0
11-
github.com/daixiang0/gci v0.2.8
11+
github.com/daixiang0/gci v0.10.1
1212
github.com/evertras/bubble-table v0.13.7
1313
github.com/fatih/color v1.9.0
1414
github.com/fujiwara/shapeio v1.0.0
1515
github.com/gocarina/gocsv v0.0.0-20210408192840-02d7211d929d
16-
github.com/golang/mock v1.5.0
16+
github.com/golang/mock v1.6.0
1717
github.com/google/go-jsonnet v0.17.0
1818
github.com/influxdata/go-prompt v0.2.8
1919
github.com/influxdata/influxdb/v2 v2.3.0
2020
github.com/mattn/go-isatty v0.0.14
2121
github.com/muesli/termenv v0.12.0
2222
github.com/olekukonko/tablewriter v0.0.5
23-
github.com/stretchr/testify v1.7.0
23+
github.com/stretchr/testify v1.8.1
2424
github.com/urfave/cli v1.22.5
2525
go.etcd.io/bbolt v1.3.6
2626
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467
2727
golang.org/x/text v0.3.7
28-
golang.org/x/tools v0.1.11-0.20220316014157-77aa08bb151a
29-
google.golang.org/protobuf v1.27.1
28+
golang.org/x/tools v0.8.0
29+
google.golang.org/protobuf v1.30.0
3030
gopkg.in/yaml.v3 v3.0.1
31-
honnef.co/go/tools v0.3.0
31+
honnef.co/go/tools v0.4.3
3232
)
3333

3434
require (
3535
github.com/atotto/clipboard v0.1.4 // indirect
3636
github.com/charmbracelet/bubbles v0.11.0 // indirect
3737
github.com/containerd/console v1.0.3 // indirect
38-
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect
38+
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
3939
github.com/davecgh/go-spew v1.1.1 // indirect
40+
github.com/hexops/gotextdiff v1.0.3 // indirect
41+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4042
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
4143
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
4244
github.com/mattn/go-colorable v0.1.12 // indirect
@@ -49,12 +51,17 @@ require (
4951
github.com/pkg/term v1.2.0-beta.2 // indirect
5052
github.com/pmezard/go-difflib v1.0.0 // indirect
5153
github.com/rivo/uniseg v0.2.0 // indirect
52-
github.com/russross/blackfriday/v2 v2.0.1 // indirect
53-
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
54-
github.com/stretchr/objx v0.1.1 // indirect
55-
golang.org/x/exp/typeparams v0.0.0-20220218215828-6cf2b201936e // indirect
56-
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 // indirect
57-
golang.org/x/sys v0.6.0 // indirect
54+
github.com/russross/blackfriday/v2 v2.1.0 // indirect
55+
github.com/spf13/cobra v1.7.0 // indirect
56+
github.com/spf13/pflag v1.0.5 // indirect
57+
github.com/stretchr/objx v0.5.0 // indirect
58+
go.uber.org/atomic v1.10.0 // indirect
59+
go.uber.org/multierr v1.11.0 // indirect
60+
go.uber.org/zap v1.24.0 // indirect
61+
golang.org/x/exp/typeparams v0.0.0-20230321023759-10a507213a29 // indirect
62+
golang.org/x/mod v0.10.0 // indirect
63+
golang.org/x/sync v0.1.0 // indirect
64+
golang.org/x/sys v0.7.0 // indirect
5865
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba // indirect
59-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
66+
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
6067
)

0 commit comments

Comments
 (0)