Remove unnecessary printing

This commit is contained in:
Regan Kuchan 2015-11-30 16:42:24 -08:00
parent 9e663d74da
commit 9fa5ea847d
2 changed files with 0 additions and 6 deletions

View File

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

View File

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