The README.md currently reads:
Install Go >=1.13 (1.15 recommended)
However, building with go 1.13 fails.
System info:
CentOS 7 with Go version 1.13
Steps to reproduce:
- git clone https://github.com/influxdata/telegraf.git
- git checkout release-1.17
- make telegraf
Expected behavior:
A successful build of the telegraf build.
Actual behavior:
Build fails with:
build github.com/influxdata/telegraf/cmd/telegraf: cannot load hash/maphash: cannot find module
providing package hash/maphash
Additional info:
From the Golang changelog I gather that hash/maphash which is used e.g. in metric/series_grouper.go appeared in Go 1.14: https://golang.org/doc/go1.14
Thus, it seems necessary to increase the minimum version requirement in README.md from 1.13 to 1.14.
The
README.mdcurrently reads:However, building with go 1.13 fails.
System info:
CentOS 7 with Go version 1.13
Steps to reproduce:
Expected behavior:
A successful build of the telegraf build.
Actual behavior:
Build fails with:
Additional info:
From the Golang changelog I gather that
hash/maphashwhich is used e.g. inmetric/series_grouper.goappeared in Go 1.14: https://golang.org/doc/go1.14Thus, it seems necessary to increase the minimum version requirement in
README.mdfrom 1.13 to 1.14.