fix: empty import tzdata for Windows binaries (#10377)
The telegraf binary currently does not include any timezone data. While this data is usually readily available in linux systems it is not available to a go binary in Windows. Fixes: #8756
This commit is contained in:
parent
003ba7d57c
commit
078242ba6b
|
|
@ -9,6 +9,8 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
_ "time/tzdata" // needed to bundle timezone info into the binary for Windows
|
||||
|
||||
"github.com/influxdata/telegraf"
|
||||
"github.com/influxdata/telegraf/internal"
|
||||
"github.com/influxdata/telegraf/metric"
|
||||
|
|
|
|||
Loading…
Reference in New Issue