influxdb output time.Duration fixup
This commit is contained in:
parent
beba50c93b
commit
215f1b57d0
|
@ -258,7 +258,7 @@ func (i *InfluxDB) gatherURL(
|
|||
func init() {
|
||||
inputs.Add("influxdb", func() telegraf.Input {
|
||||
return &InfluxDB{
|
||||
Timeout: internal.Duration(time.Second * 5),
|
||||
Timeout: internal.Duration{Duration: time.Second * 5},
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue