fix: remove duplicate influxdb listener writes (#10976)
This commit is contained in:
parent
ce94113430
commit
f450e37966
|
|
@ -213,9 +213,9 @@ func (h *InfluxDBListener) handleWrite() http.HandlerFunc {
|
||||||
return func(res http.ResponseWriter, req *http.Request) {
|
return func(res http.ResponseWriter, req *http.Request) {
|
||||||
if h.ParserType == "upstream" {
|
if h.ParserType == "upstream" {
|
||||||
h.handleWriteUpstreamParser(res, req)
|
h.handleWriteUpstreamParser(res, req)
|
||||||
|
} else {
|
||||||
|
h.handleWriteInternalParser(res, req)
|
||||||
}
|
}
|
||||||
|
|
||||||
h.handleWriteInternalParser(res, req)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue