Skip to content

Commit

Permalink
Fix output format of printer processor (#4417)
Browse files Browse the repository at this point in the history
(cherry picked from commit 411b26b)
  • Loading branch information
danielnelson committed Jul 13, 2018
1 parent a14b321 commit 3c61f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/processors/printer/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3c61f92

Please sign in to comment.