diff --git a/plugins/trig/trig.go b/plugins/trig/trig.go index 410bce9de..610a5852b 100644 --- a/plugins/trig/trig.go +++ b/plugins/trig/trig.go @@ -1,7 +1,6 @@ package trig import ( - "fmt" "math" "github.com/influxdb/telegraf/plugins" @@ -38,8 +37,6 @@ func (s *Trig) Gather(acc plugins.Accumulator) error { s.x += 1.0 acc.AddFields("trig", fields, tags) - fmt.Printf("%#v\n", fields) - return nil } diff --git a/plugins/trig/trig_test.go b/plugins/trig/trig_test.go index 218cfad6c..24218fe11 100644 --- a/plugins/trig/trig_test.go +++ b/plugins/trig/trig_test.go @@ -1,7 +1,6 @@ package trig import ( - "fmt" "math" "testing" @@ -28,8 +27,6 @@ func TestTrig(t *testing.T) { fields["sine"] = sine fields["cosine"] = cosine - fmt.Printf("%#v\n", fields) - assert.True(t, acc.CheckFieldsValue("trig", fields)) }