Skip to content

Commit

Permalink
Attempt influxdata#4
Browse files Browse the repository at this point in the history
  • Loading branch information
bielawb committed Mar 24, 2020
1 parent bebeeea commit cb2d9d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions agent/accumulator.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ func (ac *accumulator) AddError(err error) {
return
}

s := fmt.Sprintf("%v", err)
if s == "No data to return." {
if err == "No data to return." {
return
}
ac.maker.Log().Errorf("Error in plugin: %+v", err)
Expand Down

0 comments on commit cb2d9d3

Please sign in to comment.