Skip to content

README minimal Go version is too minimal (1.14 instead of 1.13 is requred) #8799

@gsauthof

Description

@gsauthof

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:

  1. git clone https://github.com/influxdata/telegraf.git
  2. git checkout release-1.17
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunexpected problem or unintended behaviordocsIssues related to Telegraf documentation and configuration descriptions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions