From 9fa5ea847d8bc18ee695423b06167392897e06e2 Mon Sep 17 00:00:00 2001 From: Regan Kuchan Date: Mon, 30 Nov 2015 16:42:24 -0800 Subject: [PATCH] Remove unnecessary printing --- plugins/trig/trig.go | 3 --- plugins/trig/trig_test.go | 3 --- 2 files changed, 6 deletions(-) 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)) }