diff --git a/go.mod b/go.mod index c4c39261bb77d..a7d7dcf87c7b3 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/influxdata/telegraf -go 1.20 +go 1.21 + +toolchain go1.23.1 require ( cloud.google.com/go/bigquery v1.55.0 diff --git a/plugins/inputs/procstat/memmap.go b/plugins/inputs/procstat/memmap.go index c20513a5ad63c..85b87f890f561 100644 --- a/plugins/inputs/procstat/memmap.go +++ b/plugins/inputs/procstat/memmap.go @@ -1,4 +1,4 @@ -//go:build linux || darwin +//go:build linux package procstat diff --git a/plugins/inputs/procstat/memmap_notlinux.go b/plugins/inputs/procstat/memmap_notlinux.go index 6c4f7694ed7dd..5d8733a76d40a 100644 --- a/plugins/inputs/procstat/memmap_notlinux.go +++ b/plugins/inputs/procstat/memmap_notlinux.go @@ -1,4 +1,4 @@ -//go:build windows +//go:build !linux package procstat