Skip to content

Commit b95b03e

Browse files
author
Stefano Torresi
authored
Update Go dependencies and bump minimum Go version to 1.17 (#222)
* bump required go version to 1.17 * update go modules * update exporter toolkit flag configuration * bump go version in .promu.yaml as well
1 parent c0a30ce commit b95b03e

File tree

5 files changed

+127
-410
lines changed

5 files changed

+127
-410
lines changed

.promu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
go:
2-
version: 1.16
2+
version: 1.17
33
cgo: false
44
repository:
55
path: github.com/ClusterLabs/ha_cluster_exporter

go.mod

Lines changed: 43 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,53 @@
11
module github.com/ClusterLabs/ha_cluster_exporter
22

3-
go 1.16
3+
go 1.17
44

55
require (
6+
github.com/alecthomas/kingpin/v2 v2.3.2
67
github.com/go-kit/log v0.2.1
78
github.com/golang/mock v1.6.0
89
github.com/pkg/errors v0.9.1
9-
github.com/prometheus/client_golang v1.14.0
10+
github.com/prometheus/client_golang v1.15.0
1011
github.com/prometheus/client_model v0.3.0
11-
github.com/prometheus/common v0.37.0
12-
github.com/prometheus/exporter-toolkit v0.7.3
13-
github.com/spf13/viper v1.11.0
12+
github.com/prometheus/common v0.42.0
13+
github.com/prometheus/exporter-toolkit v0.10.0
14+
github.com/spf13/viper v1.15.0
1415
github.com/stretchr/testify v1.8.2
15-
gopkg.in/alecthomas/kingpin.v2 v2.2.6
16+
)
17+
18+
require (
19+
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
20+
github.com/beorn7/perks v1.0.1 // indirect
21+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
22+
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
23+
github.com/davecgh/go-spew v1.1.1 // indirect
24+
github.com/fsnotify/fsnotify v1.6.0 // indirect
25+
github.com/go-logfmt/logfmt v0.5.1 // indirect
26+
github.com/golang/protobuf v1.5.3 // indirect
27+
github.com/hashicorp/hcl v1.0.0 // indirect
28+
github.com/jpillora/backoff v1.0.0 // indirect
29+
github.com/magiconair/properties v1.8.7 // indirect
30+
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
31+
github.com/mitchellh/mapstructure v1.5.0 // indirect
32+
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect
33+
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
34+
github.com/pmezard/go-difflib v1.0.0 // indirect
35+
github.com/prometheus/procfs v0.9.0 // indirect
36+
github.com/spf13/afero v1.9.3 // indirect
37+
github.com/spf13/cast v1.5.0 // indirect
38+
github.com/spf13/jwalterweatherman v1.1.0 // indirect
39+
github.com/spf13/pflag v1.0.5 // indirect
40+
github.com/subosito/gotenv v1.4.2 // indirect
41+
github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
42+
golang.org/x/crypto v0.8.0 // indirect
43+
golang.org/x/net v0.9.0 // indirect
44+
golang.org/x/oauth2 v0.6.0 // indirect
45+
golang.org/x/sync v0.1.0 // indirect
46+
golang.org/x/sys v0.7.0 // indirect
47+
golang.org/x/text v0.9.0 // indirect
48+
google.golang.org/appengine v1.6.7 // indirect
49+
google.golang.org/protobuf v1.30.0 // indirect
50+
gopkg.in/ini.v1 v1.67.0 // indirect
51+
gopkg.in/yaml.v2 v2.4.0 // indirect
52+
gopkg.in/yaml.v3 v3.0.1 // indirect
1653
)

0 commit comments

Comments
 (0)