fix(processors.starlark): Ddo not reject tracking metrics twice (#13156)

This commit is contained in:
Joshua Powers 2023-05-02 05:30:50 -06:00 committed by GitHub
parent f55d214082
commit e1390b2f3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -57,7 +57,6 @@ func (s *Starlark) Add(metric telegraf.Metric, acc telegraf.Accumulator) error {
rv, err := s.Call("apply") rv, err := s.Call("apply")
if err != nil { if err != nil {
s.LogError(err) s.LogError(err)
metric.Reject()
return err return err
} }