mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
app/vminsert: return StatusNoContent http response for /api/v1/import
to be consistent with other insert handlers
This commit is contained in:
parent
bb530a0591
commit
d03827c57d
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ func RequestHandler(w http.ResponseWriter, r *http.Request) bool {
|
|||
httpserver.Errorf(w, "error in %q: %s", r.URL.Path, err)
|
||||
return true
|
||||
}
|
||||
w.WriteHeader(http.StatusNoContent)
|
||||
return true
|
||||
case "/write", "/api/v2/write":
|
||||
influxWriteRequests.Inc()
|
||||
|
|
Loading…
Reference in a new issue