From accd132e8f8e69e23c4f367369f2279fc74f3e3e Mon Sep 17 00:00:00 2001 From: Salva Corts Date: Tue, 27 Jun 2023 12:41:25 +0200 Subject: [PATCH] Fix lint issues --- pkg/logql/log/metrics_extraction.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/logql/log/metrics_extraction.go b/pkg/logql/log/metrics_extraction.go index 39b460cbad716..9b8595f7174ba 100644 --- a/pkg/logql/log/metrics_extraction.go +++ b/pkg/logql/log/metrics_extraction.go @@ -251,7 +251,7 @@ func (sp *filteringStreamExtractor) BaseLabels() LabelsResult { return sp.extractor.BaseLabels() } -func (sp *filteringStreamExtractor) Process(ts int64, line []byte, metadataLabels ...labels.Label) (float64, LabelsResult, bool) { +func (sp *filteringStreamExtractor) Process(ts int64, line []byte, _ ...labels.Label) (float64, LabelsResult, bool) { for _, filter := range sp.filters { if ts < filter.start || ts > filter.end { continue @@ -266,7 +266,7 @@ func (sp *filteringStreamExtractor) Process(ts int64, line []byte, metadataLabel return sp.extractor.Process(ts, line) } -func (sp *filteringStreamExtractor) ProcessString(ts int64, line string, metadataLabels ...labels.Label) (float64, LabelsResult, bool) { +func (sp *filteringStreamExtractor) ProcessString(ts int64, line string, _ ...labels.Label) (float64, LabelsResult, bool) { for _, filter := range sp.filters { if ts < filter.start || ts > filter.end { continue