Fix output format of printer processor (#4417)

This commit is contained in:
Daniel Nelson
2018-07-13 14:14:18 -07:00
committed by GitHub
parent 49a5dea536
commit 411b26bb1f

View File

@@ -30,7 +30,7 @@ func (p *Printer) Apply(in ...telegraf.Metric) []telegraf.Metric {
if err != nil {
continue
}
fmt.Println(octets)
fmt.Printf("%s", octets)
}
return in
}