Skip to content

Commit

Permalink
fix: remove duplicate influxdb listener writes (#10976)
Browse files Browse the repository at this point in the history
(cherry picked from commit f450e37)
  • Loading branch information
powersj committed Apr 28, 2022
1 parent f028ebf commit 947d2b1
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 @@ -263,9 +263,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 947d2b1

Please sign in to comment.