1
0
Fork 0
telegraf/tools/update_goversion
Daniel Baumann 4978089aab
Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-24 07:26:29 +02:00
..
testdata Adding upstream version 1.34.4. 2025-05-24 07:26:29 +02:00
main.go Adding upstream version 1.34.4. 2025-05-24 07:26:29 +02:00
main_test.go Adding upstream version 1.34.4. 2025-05-24 07:26:29 +02:00
README.md Adding upstream version 1.34.4. 2025-05-24 07:26:29 +02:00

Update Go Version

The version doesn't require a leading "v" and minor versions don't need a trailing ".0". The tool will still will work correctly if they are provided.

go run tools/update_goversion/main.go 1.19.2 go run tools/update_goversion/main.go 1.19

This tool is meant to be used to create a pull request that will update the Telegraf project to use the latest version of Go. The Dockerfile quay.io/influxdb/telegraf-ci used by the CI will have to be pushed to the quay repository by a maintainer with make ci.