Remove unnecessary printing
This commit is contained in:
parent
9e663d74da
commit
9fa5ea847d
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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))
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue