Skip to content

Commit

Permalink
Upgrade prometheus/client_golang module and golang versions to late…
Browse files Browse the repository at this point in the history
…st (#18)

* Upgrading both "prometheus/client_golang" and golang version to latest releases

* Addressing deprecated "ioutil" use and incorrect format string for "caCertificate" variable
  • Loading branch information
dylan-tock authored Oct 28, 2023
1 parent d4cb4df commit 0873b6e
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 462 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17
FROM golang:1.21

COPY . /go/src/github.com/maxctrl_exporter

Expand Down
20 changes: 10 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
module github.com/maxctrl_exporter

go 1.17
go 1.21

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/prometheus/client_golang v1.11.0
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.31.1 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
google.golang.org/protobuf v1.27.1 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/prometheus/client_golang v1.17.0
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect
github.com/prometheus/common v0.44.0 // indirect
github.com/prometheus/procfs v0.11.1 // indirect
google.golang.org/protobuf v1.31.0 // indirect
)

require (
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/golang/protobuf v1.5.0 // indirect
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
golang.org/x/sys v0.11.0 // indirect
)
Loading

0 comments on commit 0873b6e

Please sign in to comment.