influxdb output time.Duration fixup

This commit is contained in:
Cameron Sparr 2016-09-28 11:48:46 +01:00
parent beba50c93b
commit 215f1b57d0
1 changed files with 1 additions and 1 deletions

View File

@ -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},
}
})
}