fix: remove duplicate influxdb listener writes (#10976)

This commit is contained in:
Joshua Powers 2022-04-25 14:49:56 -06:00 committed by GitHub
parent ce94113430
commit f450e37966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}
}