app/vmselect/graphite: remove additional redundant Request.ParseForm() calls after 38c785b851

This commit is contained in:
Aliaksandr Valialkin 2022-06-09 13:21:48 +03:00
parent 5b4b922433
commit ad44eadd94
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -84,9 +84,6 @@ func TagsTagMultiSeriesHandler(startTime time.Time, at *auth.Token, w http.Respo
func registerMetrics(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request, isJSONResponse bool) error {
deadline := searchutils.GetDeadlineForQuery(r, startTime)
if err := r.ParseForm(); err != nil {
return fmt.Errorf("cannot parse form values: %w", err)
}
paths := r.Form["path"]
var row graphiteparser.Row
var labels []prompb.Label