Skip to content

Commit

Permalink
fix: remove duplicate influxdb listener writes (#10976)
Browse files Browse the repository at this point in the history
  • Loading branch information
powersj authored and MyaLongmire committed Jul 6, 2022
1 parent 849de6b commit 43cc993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/inputs/influxdb_listener/influxdb_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ func (h *InfluxDBListener) handleWrite() http.HandlerFunc {
return func(res http.ResponseWriter, req *http.Request) {
if h.ParserType == "upstream" {
h.handleWriteUpstreamParser(res, req)
} else {
h.handleWriteInternalParser(res, req)
}

h.handleWriteInternalParser(res, req)
}
}

Expand Down

0 comments on commit 43cc993

Please sign in to comment.