From ad44eadd9496f2eed703b207cbd21fbf174a2c05 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 9 Jun 2022 13:21:48 +0300 Subject: [PATCH] app/vmselect/graphite: remove additional redundant Request.ParseForm() calls after 38c785b8512393abe7314a0cbfae19a2e88d58bc --- app/vmselect/graphite/tags_api.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/vmselect/graphite/tags_api.go b/app/vmselect/graphite/tags_api.go index fd8e8b9004..46b00ca069 100644 --- a/app/vmselect/graphite/tags_api.go +++ b/app/vmselect/graphite/tags_api.go @@ -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