From c4dc9013244b8adc880cf8c68bdae4496f71e434 Mon Sep 17 00:00:00 2001 From: George Robinson Date: Tue, 12 Sep 2023 11:26:28 +0100 Subject: [PATCH] Fix lint Signed-off-by: George Robinson --- matchers/compat/parse.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matchers/compat/parse.go b/matchers/compat/parse.go index 7e6814ae91..9f001423e8 100644 --- a/matchers/compat/parse.go +++ b/matchers/compat/parse.go @@ -16,8 +16,8 @@ package compat import ( "github.com/go-kit/log" "github.com/go-kit/log/level" - "github.com/prometheus/alertmanager/featurecontrol" + "github.com/prometheus/alertmanager/featurecontrol" "github.com/prometheus/alertmanager/matchers/parse" "github.com/prometheus/alertmanager/pkg/labels" ) @@ -28,6 +28,7 @@ var ( ) type matcherParser func(s string) (*labels.Matcher, error) + type matchersParser func(s string) (labels.Matchers, error) // Matcher parses the matcher in the input string. It returns an error