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